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.7907/0.7907, allocations: 143.4 MB / 158.3 MB, free: 5.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 177 kB / 191.5 MB, free: 5.746 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.497/1.497, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.000857/0.000857, allocations: 92.33 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 272 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 13.91 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1676, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.786/4.954, allocations: 1.909 GB / 2.683 GB, free: 168.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/4.954, allocations: 95.89 kB / 2.683 GB, free: 168.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/6.776, allocations: 475.7 MB / 3.147 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.755e-06/6.776, allocations: 0 / 3.147 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001064/6.776, allocations: 29.69 kB / 3.147 GB, free: 137.6 MB / 0.7136 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.006249/6.783, allocations: 1.62 MB / 3.149 GB, free: 137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/6.783, allocations: 8.938 kB / 3.149 GB, free: 137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/6.785, allocations: 293.5 kB / 3.149 GB, free: 136.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/6.788, allocations: 0.8198 MB / 3.15 GB, free: 136.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/6.788, allocations: 57.94 kB / 3.15 GB, free: 136.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/6.788, allocations: 73.81 kB / 3.15 GB, free: 136.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/6.79, allocations: 0.9783 MB / 3.151 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/6.79, allocations: 3.375 kB / 3.151 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/6.79, allocations: 25.89 kB / 3.151 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/6.79, allocations: 72.69 kB / 3.151 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/6.792, allocations: 0.9756 MB / 3.152 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007205/6.8, allocations: 3.591 MB / 3.156 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/6.801, allocations: 0.658 MB / 3.156 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/6.801, allocations: 193.7 kB / 3.157 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/6.801, allocations: 44.31 kB / 3.157 GB, free: 135 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=62): time 2.755e-06/6.801, allocations: 0 / 3.157 GB, free: 135 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62): time 0.00229/6.804, allocations: 1.013 MB / 3.158 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/6.804, allocations: 115.6 kB / 3.158 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/6.805, allocations: 0.7029 MB / 3.158 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.555e-05/6.805, allocations: 40.89 kB / 3.158 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/6.805, allocations: 415 kB / 3.159 GB, free: 134.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/6.805, allocations: 224.2 kB / 3.159 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/6.805, allocations: 11.03 kB / 3.159 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/6.805, allocations: 338.5 kB / 3.159 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/6.806, allocations: 314 kB / 3.16 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/6.807, allocations: 455.6 kB / 3.16 GB, free: 134 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006078/6.807, allocations: 387.6 kB / 3.16 GB, free: 134 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/6.807, allocations: 3.438 kB / 3.16 GB, free: 134 MB / 0.7136 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001446/6.809, allocations: 0.8942 MB / 3.161 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/6.809, allocations: 0.6997 MB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/6.809, allocations: 0 / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/6.809, allocations: 11.2 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/6.81, allocations: 151.8 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/6.81, allocations: 6.25 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/6.811, allocations: 113.7 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/6.811, allocations: 32.88 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/6.811, allocations: 5.625 kB / 3.162 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001228/6.812, allocations: 0.7465 MB / 3.163 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/6.812, allocations: 7.281 kB / 3.163 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/6.812, allocations: 3.938 kB / 3.163 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/6.813, allocations: 139.3 kB / 3.163 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/6.813, allocations: 6.531 kB / 3.163 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/6.814, allocations: 98.47 kB / 3.163 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/6.814, allocations: 28.16 kB / 3.163 GB, free: 133.1 MB / 0.7136 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 () * Number of clocked 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.0007177/6.815, allocations: 373.7 kB / 3.164 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/6.815, allocations: 89.44 kB / 3.164 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/6.816, allocations: 0.8031 MB / 3.165 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/6.816, allocations: 7.812 kB / 3.165 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/6.816, allocations: 0 / 3.165 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009572/6.817, allocations: 0.7421 MB / 3.165 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/6.821, allocations: 2.07 MB / 3.167 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/6.821, allocations: 11.64 kB / 3.167 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/6.821, allocations: 136.2 kB / 3.167 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/6.821, allocations: 7.781 kB / 3.167 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/6.821, allocations: 17.5 kB / 3.167 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/6.821, allocations: 11.3 kB / 3.168 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/6.821, allocations: 3.938 kB / 3.168 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/6.823, allocations: 1.557 MB / 3.169 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/6.824, allocations: 255.8 kB / 3.169 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/6.824, allocations: 19.05 kB / 3.169 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/6.825, allocations: 53.91 kB / 3.169 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/6.825, allocations: 55.7 kB / 3.169 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/6.825, allocations: 22.73 kB / 3.169 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007436/6.826, allocations: 0.5476 MB / 3.17 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/6.826, allocations: 3.828 kB / 3.17 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003265/6.829, allocations: 0.9212 MB / 3.171 GB, free: 131.3 MB / 0.7136 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 () * Number of clocked 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.003794/6.833, allocations: 1.76 MB / 3.173 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002107/6.835, allocations: 1.14 MB / 3.174 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/6.835, allocations: 2.875 kB / 3.174 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005129/6.835, allocations: 368.1 kB / 3.174 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/6.838, allocations: 0.5035 MB / 3.175 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/6.841, allocations: 2.24 MB / 3.177 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/6.842, allocations: 1.094 MB / 3.178 GB, free: 129.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001532/6.843, allocations: 411.7 kB / 3.178 GB, free: 129.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/6.844, allocations: 73.06 kB / 3.178 GB, free: 129.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.664e-06/6.844, allocations: 0 / 3.178 GB, free: 129.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.05432/6.898, allocations: 37.04 MB / 3.214 GB, free: 128 MB / 0.7136 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)