Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008041/0.0008041, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008544/0.0008546, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001798, allocations: 278.2 kB / 291.4 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9458/0.9458, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003976, allocations: 17.09 kB / 0.598 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4158/0.5501, allocations: 155.2 MB / 0.836 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004766/0.5549, allocations: 3.187 MB / 0.8391 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.5555, allocations: 21.5 kB / 0.8391 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.5562, allocations: 216 kB / 0.8393 GB, free: 7.082 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001894/0.5581, allocations: 0.7528 MB / 0.8401 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.5594, allocations: 0.4899 MB / 0.8406 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001826/0.5612, allocations: 1.774 MB / 0.8423 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005652/0.5618, allocations: 356.5 kB / 0.8426 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/0.5627, allocations: 481.8 kB / 0.8431 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007088/0.5634, allocations: 454.7 kB / 0.8435 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.457e-05/0.5635, allocations: 19.16 kB / 0.8435 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.5645, allocations: 431.7 kB / 0.8439 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.5647, allocations: 205.3 kB / 0.8441 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.5649, allocations: 143.3 kB / 0.8443 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.5657, allocations: 0.7748 MB / 0.845 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5657, allocations: 0 / 0.845 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5657, allocations: 0 / 0.845 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.5658, allocations: 4 kB / 0.845 GB, free: 3.504 MB / 0.5606 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.001208/0.567, allocations: 0.7963 MB / 0.8458 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.567, allocations: 10.88 kB / 0.8458 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.5682, allocations: 170.9 kB / 0.846 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.5689, allocations: 0.4895 MB / 0.8465 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.569, allocations: 28.94 kB / 0.8465 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.569, allocations: 50.34 kB / 0.8465 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/0.5698, allocations: 474.3 kB / 0.847 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5698, allocations: 0 / 0.847 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.5699, allocations: 21.02 kB / 0.847 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.5699, allocations: 14.78 kB / 0.847 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.5706, allocations: 418.9 kB / 0.8474 GB, free: 1.816 MB / 0.5606 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.002392/0.573, allocations: 1.728 MB / 0.8491 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.5734, allocations: 294.8 kB / 0.8494 GB, free: 224 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.5737, allocations: 178.6 kB / 0.8496 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.5738, allocations: 98.12 kB / 0.8497 GB, free: 28 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.5739, allocations: 41.84 kB / 0.8497 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.5739, allocations: 0 / 0.8497 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001889/0.5758, allocations: 1.05 MB / 0.8507 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.5758, allocations: 60.84 kB / 0.8508 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.5763, allocations: 446.7 kB / 0.8512 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.5764, allocations: 36.55 kB / 0.8512 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.5765, allocations: 255.6 kB / 0.8515 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.5767, allocations: 124 kB / 0.8516 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.5767, allocations: 6.094 kB / 0.8516 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5768, allocations: 357.7 kB / 0.852 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.577, allocations: 126.7 kB / 0.8521 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.5773, allocations: 199 kB / 0.8523 GB, free: 14.02 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.5787, allocations: 0.5571 MB / 0.8528 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5787, allocations: 0 / 0.8528 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005962/0.5793, allocations: 423.4 kB / 0.8532 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5793, allocations: 5.562 kB / 0.8532 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5794, allocations: 2.938 kB / 0.8532 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5794, allocations: 2.844 kB / 0.8532 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.5797, allocations: 68.28 kB / 0.8533 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5797, allocations: 5.75 kB / 0.8533 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.5801, allocations: 37.5 kB / 0.8533 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.5801, allocations: 12.34 kB / 0.8533 GB, free: 13.43 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002332/0.5804, allocations: 214.1 kB / 0.8535 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.5805, allocations: 48.06 kB / 0.8536 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.5806, allocations: 65.47 kB / 0.8537 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5806, allocations: 3.25 kB / 0.8537 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5806, allocations: 0 / 0.8537 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004633/0.5811, allocations: 410.7 kB / 0.8541 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.5828, allocations: 1.24 MB / 0.8553 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5828, allocations: 3.156 kB / 0.8553 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.5832, allocations: 82.23 kB / 0.8553 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5832, allocations: 9.125 kB / 0.8554 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.5832, allocations: 14.31 kB / 0.8554 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.5832, allocations: 5.875 kB / 0.8554 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5832, allocations: 7.281 kB / 0.8554 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.5841, allocations: 0.6929 MB / 0.8561 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.5843, allocations: 176.9 kB / 0.8562 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.5844, allocations: 9.5 kB / 0.8562 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.5848, allocations: 31.84 kB / 0.8563 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.5849, allocations: 30.06 kB / 0.8563 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.5849, allocations: 24.7 kB / 0.8563 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003383/0.5853, allocations: 323.4 kB / 0.8566 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5853, allocations: 0 / 0.8566 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005151/0.5858, allocations: 145.4 kB / 0.8568 GB, free: 10.97 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0003563/0.5861, allocations: 201.2 kB / 0.857 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.5867, allocations: 305.2 kB / 0.8572 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5867, allocations: 2.906 kB / 0.8572 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.5869, allocations: 169.5 kB / 0.8574 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.5885, allocations: 350.7 kB / 0.8577 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.5901, allocations: 1.326 MB / 0.859 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.5906, allocations: 0.8842 MB / 0.8599 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004968/0.5911, allocations: 130.6 kB / 0.86 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.5912, allocations: 47.36 kB / 0.8601 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5912, allocations: 0 / 0.8601 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.01639/0.6076, allocations: 10.21 MB / 0.87 GB, free: 1.809 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)