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.9868/0.9868, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.0009772/0.0009769, allocations: 180.9 kB / 182.2 MB, free: 9.469 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.482/1.482, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.000861/0.000861, allocations: 84.11 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002321/0.00232, allocations: 271.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.431e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6758, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.044/5.72, allocations: 1.908 GB / 2.666 GB, free: 148.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/5.72, allocations: 87.83 kB / 2.666 GB, free: 148.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.86/7.58, allocations: 470.1 MB / 3.125 GB, free: 137 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/7.58, allocations: 0 / 3.125 GB, free: 137 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.22e-05/7.581, allocations: 32.92 kB / 3.125 GB, free: 137 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.003715/7.584, allocations: 1.474 MB / 3.126 GB, free: 136.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/7.584, allocations: 7.625 kB / 3.126 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/7.586, allocations: 288.2 kB / 3.127 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/7.588, allocations: 0.8366 MB / 3.127 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/7.588, allocations: 21.59 kB / 3.127 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/7.588, allocations: 38.31 kB / 3.127 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001203/7.589, allocations: 0.8556 MB / 3.128 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/7.59, allocations: 0.8733 MB / 3.129 GB, free: 136 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/7.59, allocations: 0 / 3.129 GB, free: 136 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/7.59, allocations: 0 / 3.129 GB, free: 136 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.95e-05/7.59, allocations: 75.94 kB / 3.129 GB, free: 136 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/7.595, allocations: 3.409 MB / 3.133 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008867/7.596, allocations: 0.8587 MB / 3.133 GB, free: 134.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/7.596, allocations: 345.5 kB / 3.134 GB, free: 134.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/7.597, allocations: 195.5 kB / 3.134 GB, free: 134.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/7.597, allocations: 40.5 kB / 3.134 GB, free: 134.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 1.713e-06/7.597, allocations: 0 / 3.134 GB, free: 134.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.001438/7.598, allocations: 0.7064 MB / 3.135 GB, free: 134.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/7.598, allocations: 107.3 kB / 3.135 GB, free: 134 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/7.599, allocations: 0.5479 MB / 3.135 GB, free: 133.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/7.599, allocations: 29.61 kB / 3.135 GB, free: 133.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/7.599, allocations: 419.5 kB / 3.136 GB, free: 133.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/7.599, allocations: 204.2 kB / 3.136 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/7.599, allocations: 2.969 kB / 3.136 GB, free: 133.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001065/7.599, allocations: 391.8 kB / 3.136 GB, free: 133.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/7.6, allocations: 295.9 kB / 3.137 GB, free: 133.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/7.6, allocations: 429.2 kB / 3.137 GB, free: 133.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/7.602, allocations: 0.6183 MB / 3.138 GB, free: 133.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/7.602, allocations: 0 / 3.138 GB, free: 133.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001952/7.604, allocations: 1.085 MB / 3.139 GB, free: 133.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/7.604, allocations: 0.8741 MB / 3.14 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/7.604, allocations: 0 / 3.14 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/7.604, allocations: 7.625 kB / 3.14 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/7.604, allocations: 150.6 kB / 3.14 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/7.605, allocations: 6.75 kB / 3.14 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/7.605, allocations: 78.58 kB / 3.14 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/7.605, allocations: 27.22 kB / 3.14 GB, free: 132.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/7.605, allocations: 5.531 kB / 3.14 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/7.607, allocations: 0.88 MB / 3.141 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/7.607, allocations: 7.078 kB / 3.141 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/7.607, allocations: 7.094 kB / 3.141 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/7.608, allocations: 149.5 kB / 3.141 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/7.608, allocations: 17.36 kB / 3.141 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/7.608, allocations: 67.39 kB / 3.141 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/7.609, allocations: 27.09 kB / 3.141 GB, free: 132.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0001609/7.609, allocations: 113.4 kB / 3.141 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/7.609, allocations: 84.69 kB / 3.141 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/7.61, allocations: 0.721 MB / 3.142 GB, free: 131.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/7.61, allocations: 9.5 kB / 3.142 GB, free: 131.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/7.61, allocations: 3.953 kB / 3.142 GB, free: 131.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008554/7.611, allocations: 0.6863 MB / 3.142 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/7.614, allocations: 1.997 MB / 3.144 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/7.614, allocations: 3.125 kB / 3.144 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/7.614, allocations: 133.3 kB / 3.145 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/7.614, allocations: 7.031 kB / 3.145 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/7.614, allocations: 9.781 kB / 3.145 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/7.615, allocations: 8.406 kB / 3.145 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/7.615, allocations: 6.781 kB / 3.145 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/7.616, allocations: 1.433 MB / 3.146 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/7.617, allocations: 247.2 kB / 3.146 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/7.617, allocations: 7.734 kB / 3.146 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/7.617, allocations: 50.2 kB / 3.146 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/7.617, allocations: 53.2 kB / 3.146 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/7.618, allocations: 22.81 kB / 3.146 GB, free: 130.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004959/7.618, allocations: 427.5 kB / 3.147 GB, free: 130.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.618, allocations: 0 / 3.147 GB, free: 130.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002696/7.621, allocations: 0.8726 MB / 3.148 GB, free: 130.3 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.003065/7.624, allocations: 1.922 MB / 3.149 GB, free: 129.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001593/7.625, allocations: 1.052 MB / 3.151 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/7.625, allocations: 0 / 3.151 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/7.626, allocations: 328.5 kB / 3.151 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/7.628, allocations: 448.7 kB / 3.151 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/7.63, allocations: 1.425 MB / 3.153 GB, free: 129.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/7.631, allocations: 1.089 MB / 3.154 GB, free: 128.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001391/7.632, allocations: 423.4 kB / 3.154 GB, free: 128.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/7.632, allocations: 63.83 kB / 3.154 GB, free: 128.6 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/7.632, allocations: 0 / 3.154 GB, free: 128.6 MB / 0.698 GB Notification: Performance of Templates: time 0.03742/7.67, allocations: 27.44 MB / 3.181 GB, free: 127.3 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)