Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8448/0.8448, allocations: 141.8 MB / 149.3 MB, free: 9.246 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.001038/0.001038, allocations: 176.8 kB / 182.2 MB, free: 9.484 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.43/1.43, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.001/0.001, allocations: 84.11 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 272.4 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.391e-05, allocations: 8 kB / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4855, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8212/1.307, allocations: 351.1 MB / 1.1 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/1.307, allocations: 77.39 kB / 1.1 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04961/1.357, allocations: 20.05 MB / 1.12 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.655e-06/1.357, allocations: 0 / 1.12 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.312e-05/1.357, allocations: 4 kB / 1.12 GB, free: 13.91 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008116/1.358, allocations: 476.5 kB / 1.12 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.358, allocations: 8.031 kB / 1.12 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/1.358, allocations: 27.73 kB / 1.12 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/1.358, allocations: 221.4 kB / 1.121 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/1.358, allocations: 4 kB / 1.121 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/1.358, allocations: 8 kB / 1.121 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005191/1.359, allocations: 419.3 kB / 1.121 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/1.359, allocations: 216.9 kB / 1.121 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.359, allocations: 0 / 1.121 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/1.359, allocations: 0 / 1.121 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/1.359, allocations: 11.92 kB / 1.121 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/1.36, allocations: 0.9427 MB / 1.122 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/1.36, allocations: 139.2 kB / 1.122 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/1.361, allocations: 55.77 kB / 1.122 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/1.362, allocations: 1.922 MB / 1.124 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.362, allocations: 36.5 kB / 1.124 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/1.362, allocations: 4 kB / 1.124 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0005429/1.363, allocations: 132.2 kB / 1.124 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/1.363, allocations: 55.41 kB / 1.124 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/1.363, allocations: 140.1 kB / 1.125 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/1.363, allocations: 25.7 kB / 1.125 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/1.363, allocations: 151.5 kB / 1.125 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/1.363, allocations: 46.73 kB / 1.125 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/1.363, allocations: 0 / 1.125 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.363, allocations: 322.6 kB / 1.125 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/1.363, allocations: 31.5 kB / 1.125 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/1.364, allocations: 130.3 kB / 1.125 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/1.364, allocations: 82.66 kB / 1.125 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.364, allocations: 4 kB / 1.125 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004723/1.364, allocations: 198.4 kB / 1.125 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.364, allocations: 13.75 kB / 1.125 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.364, allocations: 4 kB / 1.125 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.364, allocations: 4 kB / 1.125 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/1.365, allocations: 59.09 kB / 1.126 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.365, allocations: 11.94 kB / 1.126 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/1.365, allocations: 23.77 kB / 1.126 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/1.365, allocations: 15.27 kB / 1.126 GB, free: 7.785 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001128/1.365, allocations: 108.9 kB / 1.126 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/1.365, allocations: 19.81 kB / 1.126 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005498/1.366, allocations: 168.9 kB / 1.126 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/1.366, allocations: 4 kB / 1.126 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.366, allocations: 0 / 1.126 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.366, allocations: 0 / 1.126 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/1.366, allocations: 191.3 kB / 1.126 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.366, allocations: 0 / 1.126 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.366, allocations: 31.92 kB / 1.126 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.366, allocations: 0 / 1.126 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/1.366, allocations: 4 kB / 1.126 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.366, allocations: 4 kB / 1.126 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.366, allocations: 0 / 1.126 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/1.367, allocations: 236.5 kB / 1.126 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/1.367, allocations: 115.2 kB / 1.126 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/1.367, allocations: 3.938 kB / 1.126 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/1.367, allocations: 19.98 kB / 1.126 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/1.367, allocations: 7.984 kB / 1.126 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/1.367, allocations: 15.56 kB / 1.126 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 6.625e-05/1.367, allocations: 102.6 kB / 1.127 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/1.367, allocations: 3.938 kB / 1.127 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004127/1.368, allocations: 79.33 kB / 1.127 GB, free: 6.691 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003143/1.368, allocations: 194.2 kB / 1.127 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002165/1.368, allocations: 108.4 kB / 1.127 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.368, allocations: 0 / 1.127 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/1.368, allocations: 38.55 kB / 1.127 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.368, allocations: 33.55 kB / 1.127 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/1.369, allocations: 166.8 kB / 1.127 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/1.369, allocations: 0.7167 MB / 1.128 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001705/1.37, allocations: 41.67 kB / 1.128 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/1.37, allocations: 25.3 kB / 1.128 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/1.37, allocations: 0 / 1.128 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of Templates: time 0.006641/1.376, allocations: 2.95 MB / 1.131 GB, free: 2.449 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)