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.0008054/0.0008052, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005836/0.005836, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 273.9 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9212/0.9212, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004527, allocations: 15.12 kB / 0.5987 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 88.55 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4722/0.637, allocations: 166.3 MB / 0.8475 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005399/0.6424, allocations: 3.385 MB / 0.8508 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/0.643, allocations: 18.66 kB / 0.8509 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008563/0.6439, allocations: 267.3 kB / 0.8511 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.6462, allocations: 0.9551 MB / 0.8521 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.6478, allocations: 0.609 MB / 0.8526 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002264/0.65, allocations: 2.115 MB / 0.8547 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/0.6506, allocations: 398.6 kB / 0.8551 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008312/0.6515, allocations: 477.6 kB / 0.8555 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000978/0.6524, allocations: 472.4 kB / 0.856 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.6525, allocations: 21.75 kB / 0.856 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.6542, allocations: 0.9415 MB / 0.8569 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.6545, allocations: 208.5 kB / 0.8571 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.6548, allocations: 323.7 kB / 0.8574 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.6565, allocations: 1.142 MB / 0.8586 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-05/0.6565, allocations: 0 / 0.8586 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.677e-06/0.6565, allocations: 3.938 kB / 0.8586 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.6565, allocations: 4 kB / 0.8586 GB, free: 8.961 MB / 0.5762 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.00188/0.6584, allocations: 0.7759 MB / 0.8593 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.6585, allocations: 14.84 kB / 0.8593 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.6599, allocations: 179.1 kB / 0.8595 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.6609, allocations: 0.5049 MB / 0.86 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.6609, allocations: 30.06 kB / 0.86 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/0.661, allocations: 39.31 kB / 0.8601 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009706/0.662, allocations: 480.2 kB / 0.8605 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.662, allocations: 0 / 0.8605 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.82e-05/0.6621, allocations: 17.75 kB / 0.8605 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.6621, allocations: 18.64 kB / 0.8606 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007267/0.6629, allocations: 414.7 kB / 0.861 GB, free: 7.273 MB / 0.5762 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.002474/0.6654, allocations: 1.745 MB / 0.8627 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.6658, allocations: 289.1 kB / 0.8629 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.6661, allocations: 182 kB / 0.8631 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.6663, allocations: 98.84 kB / 0.8632 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.6664, allocations: 49.36 kB / 0.8633 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.6664, allocations: 3.938 kB / 0.8633 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002093/0.6685, allocations: 1.049 MB / 0.8643 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.6685, allocations: 58.66 kB / 0.8643 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.669, allocations: 456.6 kB / 0.8648 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.669, allocations: 36.67 kB / 0.8648 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.6692, allocations: 251.6 kB / 0.865 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.6693, allocations: 115.8 kB / 0.8652 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.6694, allocations: 36.83 kB / 0.8652 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6695, allocations: 354 kB / 0.8655 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.6697, allocations: 130.6 kB / 0.8657 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.67, allocations: 197.3 kB / 0.8658 GB, free: 3.449 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.0019/0.6719, allocations: 0.8623 MB / 0.8667 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6719, allocations: 2.75 kB / 0.8667 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005994/0.6725, allocations: 410.6 kB / 0.8671 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6725, allocations: 7.969 kB / 0.8671 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6725, allocations: 0 / 0.8671 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6725, allocations: 2.906 kB / 0.8671 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.6728, allocations: 71.5 kB / 0.8672 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.6729, allocations: 12.86 kB / 0.8672 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.6733, allocations: 29.92 kB / 0.8672 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.6734, allocations: 14.88 kB / 0.8672 GB, free: 2.672 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.6737, allocations: 208.4 kB / 0.8674 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.6738, allocations: 56 kB / 0.8675 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.6739, allocations: 59 kB / 0.8675 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.6739, allocations: 4.562 kB / 0.8675 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.6739, allocations: 0 / 0.8675 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005013/0.6744, allocations: 411.4 kB / 0.8679 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.6762, allocations: 1.256 MB / 0.8691 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6762, allocations: 5.812 kB / 0.8692 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.6765, allocations: 69.56 kB / 0.8692 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.6765, allocations: 5.25 kB / 0.8692 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.6766, allocations: 13.62 kB / 0.8692 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.6766, allocations: 5.781 kB / 0.8692 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6766, allocations: 12.97 kB / 0.8693 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007977/0.6774, allocations: 0.7059 MB / 0.8699 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.6776, allocations: 165.6 kB / 0.8701 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.6777, allocations: 17.44 kB / 0.8701 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.6781, allocations: 38.3 kB / 0.8702 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.6781, allocations: 33.22 kB / 0.8702 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.6782, allocations: 22.78 kB / 0.8702 GB, free: 412 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003427/0.6785, allocations: 328.8 kB / 0.8705 GB, free: 208 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6785, allocations: 2.938 kB / 0.8705 GB, free: 208 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005377/0.6791, allocations: 138.9 kB / 0.8707 GB, free: 196 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003458/0.6794, allocations: 175.3 kB / 0.8708 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.6799, allocations: 318.6 kB / 0.8711 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.68, allocations: 1.938 kB / 0.8711 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.6802, allocations: 159.9 kB / 0.8713 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.6821, allocations: 357.9 kB / 0.8716 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.6837, allocations: 1.369 MB / 0.873 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.6841, allocations: 0.8897 MB / 0.8738 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004711/0.6846, allocations: 135.4 kB / 0.874 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.6847, allocations: 45.38 kB / 0.874 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/0.6847, allocations: 4 kB / 0.874 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.01766/0.7024, allocations: 10.55 MB / 0.8843 GB, free: 3.375 MB / 0.5919 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)