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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001283/0.001283, allocations: 189.1 kB / 16.25 MB, free: 6.625 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.281/1.281, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 287 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8972/0.8972, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 93.47 kB / 0.5948 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1319, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4186/0.5505, allocations: 168.5 MB / 0.8443 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.5552, allocations: 3.356 MB / 0.8475 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.5558, allocations: 22.88 kB / 0.8476 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.5565, allocations: 277.9 kB / 0.8478 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.5586, allocations: 0.9551 MB / 0.8488 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.56, allocations: 0.6182 MB / 0.8494 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.5614, allocations: 1.52 MB / 0.8508 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.5619, allocations: 477.3 kB / 0.8513 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.5625, allocations: 0.5618 MB / 0.8518 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008196/0.5634, allocations: 494.2 kB / 0.8523 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.5635, allocations: 54.47 kB / 0.8524 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.5647, allocations: 0.8757 MB / 0.8532 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.5649, allocations: 233.5 kB / 0.8534 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.5652, allocations: 343 kB / 0.8538 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.5663, allocations: 1.191 MB / 0.8549 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5663, allocations: 0 / 0.8549 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5664, allocations: 3.938 kB / 0.8549 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.5664, allocations: 2.75 kB / 0.8549 GB, free: 10.09 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.001178/0.5676, allocations: 0.9025 MB / 0.8558 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.5676, allocations: 14.09 kB / 0.8558 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.595e-05/0.5677, allocations: 89.27 kB / 0.8559 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.5688, allocations: 173.7 kB / 0.8561 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.5695, allocations: 0.5009 MB / 0.8566 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.5695, allocations: 35.91 kB / 0.8566 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.5696, allocations: 45.66 kB / 0.8567 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.5703, allocations: 474.5 kB / 0.8571 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.5703, allocations: 0 / 0.8571 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.5704, allocations: 16.75 kB / 0.8571 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.5704, allocations: 16.44 kB / 0.8571 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.571, allocations: 420.8 kB / 0.8575 GB, free: 8.258 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.002175/0.5732, allocations: 1.735 MB / 0.8592 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.5736, allocations: 291.4 kB / 0.8595 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.5738, allocations: 178.9 kB / 0.8597 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.574, allocations: 100.8 kB / 0.8598 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.574, allocations: 40.59 kB / 0.8598 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.5741, allocations: 0 / 0.8598 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001764/0.5758, allocations: 1.053 MB / 0.8608 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.5759, allocations: 61.09 kB / 0.8609 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.5763, allocations: 459.9 kB / 0.8613 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.5763, allocations: 32.08 kB / 0.8614 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.5765, allocations: 249.4 kB / 0.8616 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.5766, allocations: 111.7 kB / 0.8617 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.5767, allocations: 77.44 kB / 0.8618 GB, free: 5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5768, allocations: 355.4 kB / 0.8621 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.577, allocations: 128.9 kB / 0.8623 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.5773, allocations: 210.6 kB / 0.8625 GB, free: 4.445 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.001797/0.5791, allocations: 0.8634 MB / 0.8633 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5791, allocations: 0 / 0.8633 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000545/0.5796, allocations: 414.2 kB / 0.8637 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.5797, allocations: 4.812 kB / 0.8637 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5797, allocations: 2.25 kB / 0.8637 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5797, allocations: 7.094 kB / 0.8637 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.58, allocations: 70.81 kB / 0.8638 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.58, allocations: 9.359 kB / 0.8638 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.5804, allocations: 24.58 kB / 0.8638 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.5805, allocations: 14.34 kB / 0.8638 GB, free: 3.668 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 system: 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.0002151/0.5807, allocations: 220.1 kB / 0.864 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/0.5808, allocations: 53.5 kB / 0.8641 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.5809, allocations: 59.88 kB / 0.8641 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5809, allocations: 1.781 kB / 0.8641 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5809, allocations: 2.688 kB / 0.8641 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004483/0.5814, allocations: 408.8 kB / 0.8645 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.583, allocations: 1.25 MB / 0.8658 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.583, allocations: 4.844 kB / 0.8658 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.5833, allocations: 67.16 kB / 0.8658 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5833, allocations: 7.594 kB / 0.8658 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.5834, allocations: 15.81 kB / 0.8658 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.5834, allocations: 7.281 kB / 0.8659 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5834, allocations: 7.25 kB / 0.8659 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.5841, allocations: 0.7103 MB / 0.8666 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.5843, allocations: 163.2 kB / 0.8667 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/0.5844, allocations: 15.44 kB / 0.8667 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.5849, allocations: 34.78 kB / 0.8668 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.5849, allocations: 32.58 kB / 0.8668 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.585, allocations: 22.7 kB / 0.8668 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003325/0.5853, allocations: 331.5 kB / 0.8671 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5853, allocations: 0 / 0.8671 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004902/0.5858, allocations: 140.3 kB / 0.8673 GB, free: 1.199 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 (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.001178/0.587, allocations: 1.302 MB / 0.8685 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.5875, allocations: 352.6 kB / 0.8689 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5875, allocations: 0 / 0.8689 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.5877, allocations: 163 kB / 0.869 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.5893, allocations: 374.1 kB / 0.8694 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.5944, allocations: 4.632 MB / 0.8739 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.5948, allocations: 0.8891 MB / 0.8748 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004656/0.5952, allocations: 136.3 kB / 0.8749 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.5955, allocations: 166.5 kB / 0.8751 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5955, allocations: 0 / 0.8751 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/0.7355, allocations: 15.26 MB / 0.89 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/0.7358, allocations: 274.1 kB / 0.8902 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.745, allocations: 0 / 0.8902 GB, free: 15.18 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)