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.001401/0.001401, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001652/0.001652, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 282.3 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9688/0.9688, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 88.5 kB / 0.5945 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1654, allocations: 86.99 MB / 0.6794 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.462/0.6274, allocations: 168.5 MB / 0.844 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005524/0.6329, allocations: 3.423 MB / 0.8473 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007872/0.6338, allocations: 18.88 kB / 0.8474 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009557/0.6347, allocations: 266.3 kB / 0.8476 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.6373, allocations: 0.9552 MB / 0.8485 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.6389, allocations: 0.6132 MB / 0.8491 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.6411, allocations: 2.11 MB / 0.8512 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.6417, allocations: 400.2 kB / 0.8516 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009355/0.6427, allocations: 496.7 kB / 0.8521 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.6438, allocations: 486.9 kB / 0.8525 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.13e-05/0.6439, allocations: 25.59 kB / 0.8526 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.6456, allocations: 0.9538 MB / 0.8535 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.6459, allocations: 214.5 kB / 0.8537 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.6463, allocations: 302.3 kB / 0.854 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.6477, allocations: 1.164 MB / 0.8551 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.6477, allocations: 2.594 kB / 0.8551 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6477, allocations: 0 / 0.8551 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.6477, allocations: 0 / 0.8551 GB, free: 9.641 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.001339/0.649, allocations: 0.9122 MB / 0.856 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.6491, allocations: 10.06 kB / 0.856 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6503, allocations: 182.8 kB / 0.8562 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.651, allocations: 0.4944 MB / 0.8567 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.651, allocations: 34.81 kB / 0.8567 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.6511, allocations: 50.47 kB / 0.8568 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/0.6518, allocations: 472.8 kB / 0.8572 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.6519, allocations: 0 / 0.8572 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.6519, allocations: 21.25 kB / 0.8572 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.652, allocations: 20.31 kB / 0.8572 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.6526, allocations: 414.9 kB / 0.8576 GB, free: 7.879 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.00231/0.6549, allocations: 1.732 MB / 0.8593 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.6553, allocations: 302 kB / 0.8596 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.6556, allocations: 177.5 kB / 0.8598 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.6558, allocations: 97.31 kB / 0.8599 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.6558, allocations: 41.53 kB / 0.8599 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.6558, allocations: 2.781 kB / 0.8599 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001836/0.6577, allocations: 1.047 MB / 0.8609 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6577, allocations: 57.06 kB / 0.861 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.6581, allocations: 453.5 kB / 0.8614 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.6582, allocations: 34.61 kB / 0.8615 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.6583, allocations: 252.5 kB / 0.8617 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/0.6585, allocations: 116.7 kB / 0.8618 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6586, allocations: 77.98 kB / 0.8619 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6587, allocations: 359.3 kB / 0.8622 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.6589, allocations: 122.6 kB / 0.8624 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.6591, allocations: 194.4 kB / 0.8625 GB, free: 4.078 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.001867/0.661, allocations: 0.8714 MB / 0.8634 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.661, allocations: 0 / 0.8634 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005805/0.6616, allocations: 421.6 kB / 0.8638 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6616, allocations: 5.094 kB / 0.8638 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6616, allocations: 6.703 kB / 0.8638 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6617, allocations: 2.531 kB / 0.8638 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.662, allocations: 67.03 kB / 0.8639 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.662, allocations: 2.781 kB / 0.8639 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.6624, allocations: 35.23 kB / 0.8639 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.6624, allocations: 13.91 kB / 0.8639 GB, free: 3.285 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.0002367/0.6627, allocations: 211.9 kB / 0.8641 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/0.6628, allocations: 60.39 kB / 0.8642 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.6629, allocations: 63.73 kB / 0.8642 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6629, allocations: 2 kB / 0.8642 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6629, allocations: 7.219 kB / 0.8642 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004633/0.6634, allocations: 404.5 kB / 0.8646 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.6651, allocations: 1.245 MB / 0.8658 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.6651, allocations: 9.312 kB / 0.8659 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.6654, allocations: 77.66 kB / 0.8659 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.6655, allocations: 4.562 kB / 0.8659 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.6655, allocations: 12.16 kB / 0.8659 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.6655, allocations: 10.3 kB / 0.866 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.6655, allocations: 9.625 kB / 0.866 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.6663, allocations: 0.6985 MB / 0.8666 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.6665, allocations: 165.7 kB / 0.8668 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.6666, allocations: 12.55 kB / 0.8668 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.6671, allocations: 35.45 kB / 0.8669 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.6671, allocations: 34.91 kB / 0.8669 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.6672, allocations: 18.84 kB / 0.8669 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003262/0.6675, allocations: 333.4 kB / 0.8672 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6675, allocations: 0 / 0.8672 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005476/0.6681, allocations: 144 kB / 0.8674 GB, free: 0.8164 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.0003446/0.6684, allocations: 164.7 kB / 0.8675 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.6689, allocations: 315.1 kB / 0.8678 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.669, allocations: 2.438 kB / 0.8678 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.6692, allocations: 164.6 kB / 0.868 GB, free: 496 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.6708, allocations: 348.7 kB / 0.8683 GB, free: 332 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.6725, allocations: 1.307 MB / 0.8696 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.673, allocations: 0.8806 MB / 0.8704 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005534/0.6735, allocations: 143.8 kB / 0.8706 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.6737, allocations: 46.53 kB / 0.8706 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.6737, allocations: 4 kB / 0.8706 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.01666/0.6903, allocations: 10.59 MB / 0.881 GB, free: 8.43 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)