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.7972/0.7972, allocations: 128.7 MB / 143.7 MB, free: 2.336 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.00136/0.00136, allocations: 178.3 kB / 173.8 MB, free: 6.141 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.127/2.127, allocations: 205.4 MB / 409 MB, free: 10.52 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.001002/0.001002, allocations: 92.45 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 8.625 kB / 0.5603 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1787, allocations: 76.76 MB / 0.6353 GB, free: 30.61 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.758/0.9367, allocations: 340 MB / 0.9673 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.937, allocations: 77.83 kB / 0.9674 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04469/0.9817, allocations: 19.56 MB / 0.9865 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9818, allocations: 4 kB / 0.9865 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.9818, allocations: 0 / 0.9865 GB, free: 2.012 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007888/0.9826, allocations: 478.2 kB / 0.9869 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9826, allocations: 12.03 kB / 0.987 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.9828, allocations: 27.75 kB / 0.987 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.983, allocations: 205.9 kB / 0.9872 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.9831, allocations: 12.08 kB / 0.9872 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.9831, allocations: 19.19 kB / 0.9872 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.9834, allocations: 246.2 kB / 0.9874 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9835, allocations: 0 / 0.9874 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.9835, allocations: 7.375 kB / 0.9875 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.9835, allocations: 7.984 kB / 0.9875 GB, free: 1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.984, allocations: 436.9 kB / 0.9879 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3491/1.333, allocations: 1.026 MB / 0.9889 GB, free: 240.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/1.334, allocations: 166 kB / 0.989 GB, free: 240.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/1.335, allocations: 1.853 MB / 0.9908 GB, free: 238.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/1.335, allocations: 39.09 kB / 0.9909 GB, free: 238.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.274e-06/1.335, allocations: 3.312 kB / 0.9909 GB, free: 238.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003832/1.336, allocations: 136.4 kB / 0.991 GB, free: 238.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.336, allocations: 54.2 kB / 0.9911 GB, free: 238.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/1.336, allocations: 151.5 kB / 0.9912 GB, free: 238.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/1.336, allocations: 30.86 kB / 0.9912 GB, free: 238.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/1.336, allocations: 137.6 kB / 0.9914 GB, free: 238.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/1.336, allocations: 60.56 kB / 0.9914 GB, free: 238.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/1.336, allocations: 3.375 kB / 0.9914 GB, free: 238.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.206e-05/1.336, allocations: 330.4 kB / 0.9917 GB, free: 237.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/1.336, allocations: 34.62 kB / 0.9918 GB, free: 237.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/1.336, allocations: 142.4 kB / 0.9919 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/1.336, allocations: 60.22 kB / 0.992 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.336, allocations: 3.906 kB / 0.992 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003154/1.337, allocations: 211.4 kB / 0.9922 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.337, allocations: 9.906 kB / 0.9922 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.337, allocations: 5.266 kB / 0.9922 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.337, allocations: 7 kB / 0.9922 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/1.337, allocations: 54.95 kB / 0.9923 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/1.337, allocations: 12.58 kB / 0.9923 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/1.337, allocations: 27.45 kB / 0.9923 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/1.337, allocations: 11.27 kB / 0.9923 GB, free: 237.6 MB / 0.6511 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 () * Number of clocked 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 9.688e-05/1.337, allocations: 138.8 kB / 0.9924 GB, free: 237.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/1.337, allocations: 15.84 kB / 0.9924 GB, free: 237.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/1.338, allocations: 154.2 kB / 0.9926 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.338, allocations: 3.875 kB / 0.9926 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.338, allocations: 0.6875 kB / 0.9926 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/1.338, allocations: 5.406 kB / 0.9926 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/1.338, allocations: 219.1 kB / 0.9928 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.338, allocations: 0 / 0.9928 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/1.338, allocations: 33.25 kB / 0.9928 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.338, allocations: 3.938 kB / 0.9929 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/1.338, allocations: 6.5 kB / 0.9929 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.338, allocations: 3.984 kB / 0.9929 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.338, allocations: 0 / 0.9929 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/1.338, allocations: 226.8 kB / 0.9931 GB, free: 237.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/1.338, allocations: 115.9 kB / 0.9932 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/1.338, allocations: 4.031 kB / 0.9932 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/1.339, allocations: 13.31 kB / 0.9932 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/1.339, allocations: 6.219 kB / 0.9932 GB, free: 237 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/1.339, allocations: 11.97 kB / 0.9932 GB, free: 237 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.331e-05/1.339, allocations: 120.2 kB / 0.9933 GB, free: 236.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.339, allocations: 1.219 kB / 0.9933 GB, free: 236.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004403/1.339, allocations: 79.94 kB / 0.9934 GB, free: 236.9 MB / 0.6511 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 () * Number of clocked 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.0003357/1.339, allocations: 197.7 kB / 0.9936 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002346/1.34, allocations: 118.5 kB / 0.9937 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/1.34, allocations: 2.031 kB / 0.9937 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/1.34, allocations: 39.12 kB / 0.9938 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/1.34, allocations: 53.62 kB / 0.9938 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/1.341, allocations: 424.9 kB / 0.9942 GB, free: 236.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/1.341, allocations: 0.7181 MB / 0.9949 GB, free: 235.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001635/1.341, allocations: 46 kB / 0.995 GB, free: 235.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/1.341, allocations: 27.66 kB / 0.995 GB, free: 235.9 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/1.341, allocations: 0 / 0.995 GB, free: 235.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.007319/1.349, allocations: 3.342 MB / 0.9982 GB, free: 235.6 MB / 0.6511 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)