Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.618/1.618, allocations: 251.9 MB / 0.51 GB, free: 4.859 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006737/0.0006739, allocations: 20 kB / 0.6241 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5768, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2188/0.7957, allocations: 182.4 MB / 0.9061 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.601/1.397, allocations: 5.699 MB / 0.9116 GB, free: 27.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/1.399, allocations: 29.62 kB / 0.9117 GB, free: 27.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/1.401, allocations: 0.5786 MB / 0.9122 GB, free: 27.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009043/1.41, allocations: 1.692 MB / 0.9139 GB, free: 27.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/1.417, allocations: 1.238 MB / 0.9151 GB, free: 27.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005868/1.423, allocations: 1.561 MB / 0.9166 GB, free: 27.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/1.425, allocations: 0.7883 MB / 0.9174 GB, free: 27.38 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/1.429, allocations: 0.7745 MB / 0.9181 GB, free: 27.38 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/1.431, allocations: 0.5749 MB / 0.9187 GB, free: 27.38 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002341/1.431, allocations: 43.97 kB / 0.9188 GB, free: 27.38 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/1.435, allocations: 0.853 MB / 0.9196 GB, free: 27.37 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008608/1.436, allocations: 423.8 kB / 0.92 GB, free: 27.37 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008038/1.437, allocations: 261.9 kB / 0.9202 GB, free: 27.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003278/1.44, allocations: 1.508 MB / 0.9217 GB, free: 27.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.44, allocations: 1.375 kB / 0.9217 GB, free: 27.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.825e-06/1.44, allocations: 0 / 0.9217 GB, free: 27.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.546e-05/1.44, allocations: 0 / 0.9217 GB, free: 27.23 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003324/1.444, allocations: 1.297 MB / 0.923 GB, free: 26.46 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/1.444, allocations: 9.188 kB / 0.923 GB, free: 26.46 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/1.447, allocations: 497.8 kB / 0.9235 GB, free: 26.38 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/1.449, allocations: 0.7943 MB / 0.9242 GB, free: 26.08 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/1.45, allocations: 131.7 kB / 0.9244 GB, free: 26.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/1.45, allocations: 85.66 kB / 0.9244 GB, free: 26.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/1.453, allocations: 1.218 MB / 0.9256 GB, free: 25.96 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/1.453, allocations: 0 / 0.9256 GB, free: 25.96 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.453, allocations: 40.25 kB / 0.9257 GB, free: 25.96 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-05/1.453, allocations: 36.72 kB / 0.9257 GB, free: 25.95 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/1.455, allocations: 1.106 MB / 0.9268 GB, free: 25.93 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007156/1.463, allocations: 4.38 MB / 0.9311 GB, free: 24.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/1.465, allocations: 0.7848 MB / 0.9318 GB, free: 24.05 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/1.465, allocations: 9.625 kB / 0.9318 GB, free: 24.05 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/1.465, allocations: 49.91 kB / 0.9319 GB, free: 24 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 2.855e-06/1.465, allocations: 0 / 0.9319 GB, free: 24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.00621/1.471, allocations: 2.274 MB / 0.9341 GB, free: 23.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/1.471, allocations: 59.38 kB / 0.9342 GB, free: 23.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/1.472, allocations: 0.8687 MB / 0.935 GB, free: 23.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.705e-05/1.472, allocations: 37.64 kB / 0.9351 GB, free: 23.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/1.472, allocations: 0.4926 MB / 0.9355 GB, free: 23.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/1.473, allocations: 162 kB / 0.9357 GB, free: 22.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/1.473, allocations: 11.69 kB / 0.9357 GB, free: 22.95 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/1.473, allocations: 334.1 kB / 0.936 GB, free: 22.64 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/1.474, allocations: 386 kB / 0.9364 GB, free: 22.64 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009398/1.475, allocations: 0.5316 MB / 0.9369 GB, free: 22.46 MB / 0.7169 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/1.478, allocations: 1.513 MB / 0.9384 GB, free: 22.29 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.478, allocations: 2.812 kB / 0.9384 GB, free: 22.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002281/1.481, allocations: 1.018 MB / 0.9394 GB, free: 22.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.481, allocations: 13.66 kB / 0.9394 GB, free: 22.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.481, allocations: 6.359 kB / 0.9394 GB, free: 22.17 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/1.481, allocations: 7.781 kB / 0.9394 GB, free: 22.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/1.482, allocations: 206.6 kB / 0.9396 GB, free: 22.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/1.482, allocations: 13.5 kB / 0.9396 GB, free: 22.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/1.483, allocations: 116.2 kB / 0.9397 GB, free: 22.15 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/1.483, allocations: 30.62 kB / 0.9398 GB, free: 22.14 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000685/1.484, allocations: 325 kB / 0.9401 GB, free: 22.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/1.484, allocations: 100.4 kB / 0.9402 GB, free: 21.97 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/1.484, allocations: 104 kB / 0.9403 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.484, allocations: 5.844 kB / 0.9403 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.484, allocations: 0 / 0.9403 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/1.486, allocations: 1.061 MB / 0.9413 GB, free: 21.49 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/1.491, allocations: 2.219 MB / 0.9435 GB, free: 21.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.491, allocations: 3.031 kB / 0.9435 GB, free: 21.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/1.492, allocations: 191 kB / 0.9437 GB, free: 21.03 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-05/1.492, allocations: 6.094 kB / 0.9437 GB, free: 21.03 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/1.492, allocations: 21.06 kB / 0.9437 GB, free: 21.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/1.492, allocations: 5.719 kB / 0.9437 GB, free: 21.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.492, allocations: 5.312 kB / 0.9437 GB, free: 21.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/1.495, allocations: 1.667 MB / 0.9453 GB, free: 20.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/1.496, allocations: 262.7 kB / 0.9456 GB, free: 20.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/1.496, allocations: 16.22 kB / 0.9456 GB, free: 20.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.497, allocations: 121.3 kB / 0.9457 GB, free: 20.31 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/1.497, allocations: 32.81 kB / 0.9457 GB, free: 20.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/1.497, allocations: 33.33 kB / 0.9458 GB, free: 20.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009447/1.498, allocations: 0.6093 MB / 0.9464 GB, free: 20.21 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.533e-06/1.498, allocations: 4 kB / 0.9464 GB, free: 20.21 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001097/1.499, allocations: 261.8 kB / 0.9466 GB, free: 20.21 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004806/1.5, allocations: 191.6 kB / 0.9468 GB, free: 20.11 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002228/1.502, allocations: 0.8344 MB / 0.9476 GB, free: 20.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.502, allocations: 3.312 kB / 0.9476 GB, free: 20.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009667/1.503, allocations: 422.9 kB / 0.948 GB, free: 20.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.506, allocations: 0.5486 MB / 0.9486 GB, free: 20.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/1.51, allocations: 2.58 MB / 0.9511 GB, free: 18.83 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/1.511, allocations: 1.138 MB / 0.9522 GB, free: 18.12 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001112/1.512, allocations: 262 kB / 0.9524 GB, free: 18.06 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/1.512, allocations: 78.08 kB / 0.9525 GB, free: 18.05 MB / 0.7169 GB Notification: Performance of SimCode: time 1.242e-06/1.512, allocations: 0 / 0.9525 GB, free: 18.05 MB / 0.7169 GB Notification: Performance of Templates: time 0.03383/1.546, allocations: 19.87 MB / 0.9719 GB, free: 8.957 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: