Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7973/0.7973, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 177 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.3 MB / 441.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.0008552, allocations: 94.3 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001843/0.001843, allocations: 270 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.106e-05, allocations: 8 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4521, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.911/5.363, allocations: 1.909 GB / 2.673 GB, free: 136.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/5.364, allocations: 96.42 kB / 2.673 GB, free: 136.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.887/7.25, allocations: 475.3 MB / 3.137 GB, free: 137.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/7.25, allocations: 3.188 kB / 3.137 GB, free: 137.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.972e-05/7.25, allocations: 32.42 kB / 3.137 GB, free: 137.1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004835/7.255, allocations: 1.478 MB / 3.139 GB, free: 136.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/7.255, allocations: 7.531 kB / 3.139 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/7.257, allocations: 283.1 kB / 3.139 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/7.259, allocations: 0.833 MB / 3.14 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/7.259, allocations: 54.47 kB / 3.14 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/7.259, allocations: 65.17 kB / 3.14 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/7.261, allocations: 0.9607 MB / 3.141 GB, free: 136 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/7.261, allocations: 0 / 3.141 GB, free: 136 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/7.261, allocations: 28.86 kB / 3.141 GB, free: 136 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.199e-05/7.261, allocations: 73.42 kB / 3.141 GB, free: 136 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/7.263, allocations: 0.9598 MB / 3.142 GB, free: 135.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005589/7.268, allocations: 3.601 MB / 3.146 GB, free: 134.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/7.269, allocations: 0.6457 MB / 3.146 GB, free: 134.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/7.27, allocations: 363.1 kB / 3.147 GB, free: 134.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/7.27, allocations: 198.9 kB / 3.147 GB, free: 134.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/7.27, allocations: 39.88 kB / 3.147 GB, free: 134.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 2.866e-06/7.27, allocations: 0 / 3.147 GB, free: 134.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.001516/7.272, allocations: 0.7353 MB / 3.148 GB, free: 134.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/7.272, allocations: 116.7 kB / 3.148 GB, free: 134.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007859/7.273, allocations: 0.6943 MB / 3.148 GB, free: 134.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/7.273, allocations: 37.23 kB / 3.148 GB, free: 134 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/7.273, allocations: 413.7 kB / 3.149 GB, free: 133.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/7.273, allocations: 224.5 kB / 3.149 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/7.273, allocations: 11.34 kB / 3.149 GB, free: 133.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/7.273, allocations: 336.4 kB / 3.149 GB, free: 133.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/7.274, allocations: 311 kB / 3.15 GB, free: 133.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/7.274, allocations: 445.5 kB / 3.15 GB, free: 133.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/7.275, allocations: 386.2 kB / 3.15 GB, free: 133.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/7.275, allocations: 0 / 3.15 GB, free: 133.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001249/7.276, allocations: 0.8839 MB / 3.151 GB, free: 133.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/7.276, allocations: 0.7021 MB / 3.152 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/7.276, allocations: 3.594 kB / 3.152 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/7.276, allocations: 3.281 kB / 3.152 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/7.277, allocations: 153.7 kB / 3.152 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/7.277, allocations: 2.469 kB / 3.152 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/7.278, allocations: 106.6 kB / 3.152 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/7.278, allocations: 27.97 kB / 3.152 GB, free: 132.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/7.278, allocations: 6 kB / 3.152 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/7.279, allocations: 0.7367 MB / 3.153 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/7.279, allocations: 3.969 kB / 3.153 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/7.279, allocations: 5.562 kB / 3.153 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/7.279, allocations: 145 kB / 3.153 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/7.279, allocations: 11.12 kB / 3.153 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/7.28, allocations: 96.42 kB / 3.153 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/7.28, allocations: 38.05 kB / 3.153 GB, free: 132.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.000165/7.28, allocations: 140 kB / 3.153 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/7.281, allocations: 90.84 kB / 3.153 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/7.282, allocations: 0.7971 MB / 3.154 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/7.282, allocations: 6.125 kB / 3.154 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/7.282, allocations: 2.125 kB / 3.154 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008197/7.283, allocations: 0.73 MB / 3.155 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/7.286, allocations: 2.071 MB / 3.157 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/7.286, allocations: 3.375 kB / 3.157 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/7.286, allocations: 134.9 kB / 3.157 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/7.286, allocations: 7 kB / 3.157 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/7.286, allocations: 16.78 kB / 3.157 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/7.286, allocations: 11.31 kB / 3.157 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/7.286, allocations: 7.406 kB / 3.157 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/7.288, allocations: 1.527 MB / 3.159 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/7.288, allocations: 267.1 kB / 3.159 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/7.288, allocations: 14.44 kB / 3.159 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/7.289, allocations: 55.25 kB / 3.159 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/7.289, allocations: 50.53 kB / 3.159 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/7.289, allocations: 24.72 kB / 3.159 GB, free: 131 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006266/7.29, allocations: 0.5416 MB / 3.16 GB, free: 130.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/7.29, allocations: 0 / 3.16 GB, free: 130.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003013/7.293, allocations: 0.9185 MB / 3.16 GB, free: 130.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.003356/7.296, allocations: 1.763 MB / 3.162 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00191/7.298, allocations: 1.158 MB / 3.163 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/7.298, allocations: 0 / 3.163 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004549/7.299, allocations: 357.6 kB / 3.164 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/7.301, allocations: 0.5086 MB / 3.164 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/7.303, allocations: 1.496 MB / 3.166 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/7.304, allocations: 1.098 MB / 3.167 GB, free: 129.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001441/7.305, allocations: 492.5 kB / 3.167 GB, free: 129.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/7.305, allocations: 65.25 kB / 3.167 GB, free: 129.1 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/7.305, allocations: 0 / 3.167 GB, free: 129.1 MB / 0.698 GB Notification: Performance of Templates: time 0.05045/7.356, allocations: 42.15 MB / 3.208 GB, free: 119.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)