Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8311/0.8311, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.00153, allocations: 176.9 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.001191/0.001191, allocations: 93.78 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.927e-05, allocations: 4 kB / 0.5532 GB, free: 54.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1827, allocations: 76.76 MB / 0.6281 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.448, allocations: 339.9 MB / 0.9601 GB, free: 194.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/1.448, allocations: 73.94 kB / 0.9601 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03948/1.488, allocations: 19.51 MB / 0.9792 GB, free: 174.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/1.488, allocations: 0 / 0.9792 GB, free: 174.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.236e-05/1.488, allocations: 4 kB / 0.9792 GB, free: 174.8 MB / 0.6355 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.0007533/1.488, allocations: 467.2 kB / 0.9796 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/1.488, allocations: 12.03 kB / 0.9796 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/1.489, allocations: 27.75 kB / 0.9797 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/1.489, allocations: 210.8 kB / 0.9799 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/1.489, allocations: 8.328 kB / 0.9799 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/1.489, allocations: 16 kB / 0.9799 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/1.489, allocations: 244.9 kB / 0.9801 GB, free: 173.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.489, allocations: 0 / 0.9801 GB, free: 173.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/1.489, allocations: 8 kB / 0.9801 GB, free: 173.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/1.489, allocations: 7.984 kB / 0.9801 GB, free: 173.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/1.49, allocations: 435.4 kB / 0.9806 GB, free: 173.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/1.491, allocations: 1.035 MB / 0.9816 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/1.491, allocations: 157.9 kB / 0.9817 GB, free: 172 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/1.491, allocations: 64.89 kB / 0.9818 GB, free: 172 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/1.493, allocations: 1.946 MB / 0.9837 GB, free: 169.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.493, allocations: 38.56 kB / 0.9837 GB, free: 169.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/1.493, allocations: 0 / 0.9837 GB, free: 169.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.000307/1.493, allocations: 114.7 kB / 0.9838 GB, free: 169.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.493, allocations: 51.41 kB / 0.9839 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/1.493, allocations: 150.5 kB / 0.984 GB, free: 169.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/1.493, allocations: 33.62 kB / 0.9841 GB, free: 169.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/1.494, allocations: 143.8 kB / 0.9842 GB, free: 169.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/1.494, allocations: 55.27 kB / 0.9842 GB, free: 169 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/1.494, allocations: 4 kB / 0.9842 GB, free: 169 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/1.494, allocations: 322.8 kB / 0.9846 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/1.494, allocations: 36.48 kB / 0.9846 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/1.494, allocations: 133.7 kB / 0.9847 GB, free: 168.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/1.494, allocations: 64.69 kB / 0.9848 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.494, allocations: 0 / 0.9848 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002764/1.494, allocations: 214.6 kB / 0.985 GB, free: 168.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.494, allocations: 8 kB / 0.985 GB, free: 168.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.494, allocations: 4 kB / 0.985 GB, free: 168.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.494, allocations: 4 kB / 0.985 GB, free: 168.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/1.495, allocations: 60.38 kB / 0.9851 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.495, allocations: 11.94 kB / 0.9851 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/1.495, allocations: 31.69 kB / 0.9851 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/1.495, allocations: 12 kB / 0.9851 GB, free: 168.1 MB / 0.6355 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 7.698e-05/1.495, allocations: 120.9 kB / 0.9852 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/1.495, allocations: 15.86 kB / 0.9852 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/1.495, allocations: 162.9 kB / 0.9854 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/1.495, allocations: 0 / 0.9854 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.495, allocations: 4 kB / 0.9854 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.495, allocations: 4 kB / 0.9854 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/1.495, allocations: 213.5 kB / 0.9856 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.495, allocations: 0 / 0.9856 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/1.496, allocations: 31.97 kB / 0.9856 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.496, allocations: 0 / 0.9856 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/1.496, allocations: 3.953 kB / 0.9856 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.496, allocations: 4 kB / 0.9856 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.496, allocations: 4 kB / 0.9857 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/1.496, allocations: 221.5 kB / 0.9859 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/1.496, allocations: 112.9 kB / 0.986 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/1.496, allocations: 4 kB / 0.986 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/1.496, allocations: 15.94 kB / 0.986 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/1.496, allocations: 11.97 kB / 0.986 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/1.496, allocations: 8 kB / 0.986 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.158e-05/1.496, allocations: 116.9 kB / 0.9861 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.496, allocations: 0 / 0.9861 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003757/1.497, allocations: 83.92 kB / 0.9862 GB, free: 166.9 MB / 0.6355 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.0003566/1.497, allocations: 195.5 kB / 0.9864 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002208/1.497, allocations: 107.8 kB / 0.9865 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.497, allocations: 4.875 kB / 0.9865 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/1.497, allocations: 50.45 kB / 0.9865 GB, free: 166.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/1.498, allocations: 43.95 kB / 0.9866 GB, free: 166.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/1.498, allocations: 170.3 kB / 0.9867 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/1.498, allocations: 0.7248 MB / 0.9875 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000154/1.499, allocations: 37.89 kB / 0.9875 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/1.499, allocations: 31.42 kB / 0.9875 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.499, allocations: 0 / 0.9875 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.005975/1.505, allocations: 3.407 MB / 0.9908 GB, free: 162.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)