Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008562/0.0008563, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009278/0.0009277, allocations: 172.7 kB / 15.95 MB, free: 208 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.44/1.44, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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.0005287/0.0005287, allocations: 12.56 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2458, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5841/0.8299, allocations: 155.2 MB / 0.9388 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005016/0.835, allocations: 3.162 MB / 0.9419 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.8357, allocations: 19 kB / 0.9419 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.8364, allocations: 214.6 kB / 0.9421 GB, free: 5.418 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00213/0.8386, allocations: 0.7442 MB / 0.9428 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.8401, allocations: 494.2 kB / 0.9433 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.8424, allocations: 1.757 MB / 0.945 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.843, allocations: 354.2 kB / 0.9454 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009245/0.8439, allocations: 490.7 kB / 0.9458 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.8447, allocations: 436.4 kB / 0.9462 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.8447, allocations: 21.22 kB / 0.9463 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.8462, allocations: 431.8 kB / 0.9467 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.8465, allocations: 203 kB / 0.9469 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.847, allocations: 142.5 kB / 0.947 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.8483, allocations: 0.7769 MB / 0.9478 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8483, allocations: 0 / 0.9478 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8483, allocations: 0 / 0.9478 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.8483, allocations: 0 / 0.9478 GB, free: 20.96 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001214/0.8495, allocations: 0.7911 MB / 0.9485 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.8496, allocations: 10.16 kB / 0.9486 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.8507, allocations: 179.7 kB / 0.9487 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006808/0.8514, allocations: 492.6 kB / 0.9492 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.8514, allocations: 31.25 kB / 0.9492 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/0.8515, allocations: 40.06 kB / 0.9493 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.8523, allocations: 469.5 kB / 0.9497 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.8523, allocations: 0 / 0.9497 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.8524, allocations: 21.98 kB / 0.9497 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.8524, allocations: 18.22 kB / 0.9497 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.853, allocations: 409.6 kB / 0.9501 GB, free: 20.05 MB / 0.7325 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.002403/0.8554, allocations: 1.875 MB / 0.952 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.8557, allocations: 226.2 kB / 0.9522 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.8559, allocations: 148.9 kB / 0.9523 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.8561, allocations: 103.1 kB / 0.9524 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.8561, allocations: 37.09 kB / 0.9525 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.804e-06/0.8562, allocations: 0 / 0.9525 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0007727/0.8569, allocations: 392.4 kB / 0.9528 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.857, allocations: 58.44 kB / 0.9529 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.8575, allocations: 492.4 kB / 0.9534 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.8576, allocations: 31.52 kB / 0.9534 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.8577, allocations: 279.6 kB / 0.9537 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.8578, allocations: 87.52 kB / 0.9537 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.8578, allocations: 4.656 kB / 0.9537 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.858, allocations: 363.3 kB / 0.9541 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.8581, allocations: 112.5 kB / 0.9542 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.8583, allocations: 203.8 kB / 0.9544 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.8586, allocations: 149.5 kB / 0.9545 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8586, allocations: 5.344 kB / 0.9545 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005377/0.8591, allocations: 397.7 kB / 0.9549 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.8592, allocations: 6.625 kB / 0.9549 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.8592, allocations: 1.344 kB / 0.9549 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.8592, allocations: 5.25 kB / 0.9549 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.8595, allocations: 65.47 kB / 0.955 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8595, allocations: 7.344 kB / 0.955 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.86, allocations: 61.64 kB / 0.9551 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.86, allocations: 16.48 kB / 0.9551 GB, free: 18.02 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (39): * Single equations (assignments): 39 * 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.0002367/0.8603, allocations: 208.1 kB / 0.9553 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.8604, allocations: 48.81 kB / 0.9553 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.704e-05/0.8605, allocations: 58.67 kB / 0.9554 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8605, allocations: 2.094 kB / 0.9554 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8605, allocations: 0 / 0.9554 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003543/0.8608, allocations: 337.2 kB / 0.9557 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.862, allocations: 0.9609 MB / 0.9566 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.862, allocations: 1.312 kB / 0.9566 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.8623, allocations: 62.64 kB / 0.9567 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8623, allocations: 2.688 kB / 0.9567 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.8623, allocations: 7.156 kB / 0.9567 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.8623, allocations: 3.031 kB / 0.9567 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8623, allocations: 1.312 kB / 0.9567 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.863, allocations: 0.5614 MB / 0.9573 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.8632, allocations: 165.8 kB / 0.9574 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.8632, allocations: 10.34 kB / 0.9574 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.8636, allocations: 27.78 kB / 0.9575 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.8637, allocations: 22.38 kB / 0.9575 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.8637, allocations: 15.61 kB / 0.9575 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003714/0.8641, allocations: 354.5 kB / 0.9578 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8641, allocations: 0 / 0.9578 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005906/0.8647, allocations: 153.8 kB / 0.958 GB, free: 16.86 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[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 (23): * Single equations (assignments): 23 * 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.000376/0.8651, allocations: 161.5 kB / 0.9581 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.8655, allocations: 269.3 kB / 0.9584 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8656, allocations: 1.5 kB / 0.9584 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.8657, allocations: 116 kB / 0.9585 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.8672, allocations: 334.9 kB / 0.9588 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.8689, allocations: 1.216 MB / 0.96 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.8694, allocations: 0.878 MB / 0.9609 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004979/0.8699, allocations: 127.6 kB / 0.961 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.87, allocations: 41.66 kB / 0.961 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.8701, allocations: 1 kB / 0.961 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.0153/0.8854, allocations: 9.712 MB / 0.9705 GB, free: 12.43 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) Environment - environmentSimulation: