Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8187/0.8187, allocations: 128.7 MB / 143.7 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 188.5 kB / 173.8 MB, free: 6.105 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 90.8 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 9.031 kB / 0.5603 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.17, allocations: 76.77 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7126/0.8826, allocations: 323.5 MB / 0.9512 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.883, allocations: 73.92 kB / 0.9513 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.54/1.423, allocations: 100.6 MB / 1.05 GB, free: 212.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.035e-06/1.423, allocations: 384 / 1.05 GB, free: 212.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.97e-05/1.423, allocations: 11.36 kB / 1.05 GB, free: 212.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008425/1.424, allocations: 0.5393 MB / 1.05 GB, free: 211.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.424, allocations: 11.97 kB / 1.05 GB, free: 211.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/1.424, allocations: 47.56 kB / 1.05 GB, free: 211.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/1.425, allocations: 264.4 kB / 1.05 GB, free: 211.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/1.425, allocations: 16.56 kB / 1.05 GB, free: 211.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/1.425, allocations: 24 kB / 1.05 GB, free: 211.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/1.425, allocations: 296 kB / 1.051 GB, free: 210.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/1.425, allocations: 11.84 kB / 1.051 GB, free: 210.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/1.425, allocations: 8 kB / 1.051 GB, free: 210.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/1.425, allocations: 12 kB / 1.051 GB, free: 210.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/1.426, allocations: 169.4 kB / 1.051 GB, free: 210.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/1.427, allocations: 1.838 MB / 1.053 GB, free: 208.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/1.427, allocations: 106.5 kB / 1.053 GB, free: 208.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/1.427, allocations: 7.047 kB / 1.053 GB, free: 208.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/1.427, allocations: 38.66 kB / 1.053 GB, free: 208.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/1.427, allocations: 0 / 1.053 GB, free: 208.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.001059/1.428, allocations: 0.6453 MB / 1.053 GB, free: 207.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/1.428, allocations: 55.41 kB / 1.054 GB, free: 207.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/1.429, allocations: 237.8 kB / 1.054 GB, free: 207.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/1.429, allocations: 33.7 kB / 1.054 GB, free: 207.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/1.429, allocations: 195.6 kB / 1.054 GB, free: 207.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/1.429, allocations: 65.05 kB / 1.054 GB, free: 207.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/1.429, allocations: 8 kB / 1.054 GB, free: 207.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/1.429, allocations: 330.8 kB / 1.054 GB, free: 207 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/1.429, allocations: 55.98 kB / 1.054 GB, free: 206.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/1.429, allocations: 157.7 kB / 1.055 GB, free: 206.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/1.429, allocations: 92.73 kB / 1.055 GB, free: 206.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.429, allocations: 7.875 kB / 1.055 GB, free: 206.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003735/1.43, allocations: 280.8 kB / 1.055 GB, free: 206.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.43, allocations: 4 kB / 1.055 GB, free: 206.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.43, allocations: 7.938 kB / 1.055 GB, free: 206.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.539e-05/1.43, allocations: 28.8 kB / 1.055 GB, free: 206.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/1.43, allocations: 67.91 kB / 1.055 GB, free: 206.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007388/1.431, allocations: 1.292 MB / 1.056 GB, free: 204.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/1.431, allocations: 12 kB / 1.056 GB, free: 204.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.431, allocations: 12.25 kB / 1.056 GB, free: 204.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.431, allocations: 149.8 kB / 1.056 GB, free: 204.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/1.431, allocations: 31.7 kB / 1.056 GB, free: 204.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/1.431, allocations: 30.12 kB / 1.056 GB, free: 204.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.431, allocations: 0 / 1.056 GB, free: 204.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.431, allocations: 4 kB / 1.056 GB, free: 204.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002251/1.431, allocations: 461.5 kB / 1.057 GB, free: 204 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/1.432, allocations: 0.5725 MB / 1.057 GB, free: 203.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.432, allocations: 0 / 1.057 GB, free: 203.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/1.432, allocations: 43.84 kB / 1.058 GB, free: 203.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.432, allocations: 4 kB / 1.058 GB, free: 203.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/1.432, allocations: 4 kB / 1.058 GB, free: 203.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.432, allocations: 4 kB / 1.058 GB, free: 203.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.432, allocations: 160 / 1.058 GB, free: 203.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/1.432, allocations: 391.9 kB / 1.058 GB, free: 202.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/1.433, allocations: 104.8 kB / 1.058 GB, free: 202.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/1.433, allocations: 4 kB / 1.058 GB, free: 202.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.433, allocations: 11.98 kB / 1.058 GB, free: 202.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/1.433, allocations: 16.05 kB / 1.058 GB, free: 202.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/1.433, allocations: 16 kB / 1.058 GB, free: 202.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001447/1.433, allocations: 190 kB / 1.058 GB, free: 202.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.433, allocations: 0 / 1.058 GB, free: 202.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004171/1.433, allocations: 91.92 kB / 1.058 GB, free: 202.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * 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 (16): * Single equations (assignments): 16 * 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.0002844/1.434, allocations: 208.5 kB / 1.059 GB, free: 202.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004026/1.434, allocations: 268.8 kB / 1.059 GB, free: 202 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.434, allocations: 0 / 1.059 GB, free: 202 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/1.434, allocations: 63.73 kB / 1.059 GB, free: 201.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/1.435, allocations: 145.4 kB / 1.059 GB, free: 201.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/1.436, allocations: 0.694 MB / 1.06 GB, free: 201 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/1.436, allocations: 0.768 MB / 1.06 GB, free: 200.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002056/1.436, allocations: 46.95 kB / 1.06 GB, free: 200.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/1.436, allocations: 23.44 kB / 1.06 GB, free: 200.2 MB / 0.6511 GB Notification: Performance of SimCode: time 5.52e-07/1.436, allocations: 0 / 1.06 GB, free: 200.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.009675/1.446, allocations: 5.744 MB / 1.066 GB, free: 194.5 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe 2>&1)