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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 190.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002532, allocations: 286.7 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.507 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 94.14 kB / 0.6059 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1603, allocations: 89.16 MB / 0.693 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006645/0.167, allocations: 4.738 MB / 0.6976 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003096/0.1702, allocations: 2.695 MB / 0.7002 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.1703, allocations: 0 / 0.7002 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.1705, allocations: 39.8 kB / 0.7003 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.1708, allocations: 95.42 kB / 0.7004 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1719, allocations: 469.3 kB / 0.7008 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1722, allocations: 224 kB / 0.701 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.1723, allocations: 9.562 kB / 0.701 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.1725, allocations: 119.5 kB / 0.7011 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1727, allocations: 99.59 kB / 0.7012 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.1727, allocations: 8 kB / 0.7012 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.1733, allocations: 367.2 kB / 0.7016 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.1734, allocations: 43.88 kB / 0.7016 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.1735, allocations: 79.59 kB / 0.7017 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.1741, allocations: 359.4 kB / 0.7021 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1741, allocations: 0 / 0.7021 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1741, allocations: 0 / 0.7021 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1741, allocations: 0 / 0.7021 GB, free: 11.41 MB / 0.4981 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.0007616/0.1749, allocations: 0.5031 MB / 0.7025 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1749, allocations: 12.03 kB / 0.7026 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.1751, allocations: 28.67 kB / 0.7026 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1753, allocations: 216 kB / 0.7028 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.1754, allocations: 16.7 kB / 0.7028 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1754, allocations: 12.38 kB / 0.7028 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.1758, allocations: 256.1 kB / 0.7031 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1758, allocations: 0 / 0.7031 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.1759, allocations: 4 kB / 0.7031 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.1759, allocations: 11.94 kB / 0.7031 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.1765, allocations: 423.5 kB / 0.7035 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1777, allocations: 0.9527 MB / 0.7044 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.178, allocations: 159.6 kB / 0.7046 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1781, allocations: 70.12 kB / 0.7046 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/0.1797, allocations: 1.821 MB / 0.7064 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.764e-05/0.1798, allocations: 38.56 kB / 0.7064 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.1798, allocations: 0 / 0.7064 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003304/0.1801, allocations: 145.4 kB / 0.7066 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1802, allocations: 59.34 kB / 0.7066 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1803, allocations: 170.8 kB / 0.7068 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1804, allocations: 33.7 kB / 0.7068 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1805, allocations: 139.8 kB / 0.707 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.1805, allocations: 51.2 kB / 0.707 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.1806, allocations: 57.55 kB / 0.7071 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1808, allocations: 326.8 kB / 0.7074 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.1809, allocations: 35.97 kB / 0.7074 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.181, allocations: 139 kB / 0.7076 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.1813, allocations: 207.1 kB / 0.7078 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1813, allocations: 0 / 0.7078 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000339/0.1817, allocations: 209.2 kB / 0.708 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1817, allocations: 4 kB / 0.708 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1817, allocations: 4 kB / 0.708 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1817, allocations: 8 kB / 0.708 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.1819, allocations: 59.84 kB / 0.708 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1819, allocations: 4 kB / 0.708 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.182, allocations: 44.08 kB / 0.7081 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1821, allocations: 8 kB / 0.7081 GB, free: 4.516 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.1822, allocations: 133.7 kB / 0.7082 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.1823, allocations: 19.81 kB / 0.7082 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.1826, allocations: 147.9 kB / 0.7084 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.1826, allocations: 7.938 kB / 0.7084 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1826, allocations: 0 / 0.7084 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1826, allocations: 0 / 0.7084 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.1829, allocations: 225.4 kB / 0.7086 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1829, allocations: 0 / 0.7086 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.183, allocations: 27.92 kB / 0.7086 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.183, allocations: 0 / 0.7086 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.183, allocations: 4 kB / 0.7086 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.183, allocations: 7.938 kB / 0.7086 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.183, allocations: 0 / 0.7086 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1834, allocations: 216.7 kB / 0.7088 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.1835, allocations: 109 kB / 0.7089 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1836, allocations: 4 kB / 0.7089 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.1838, allocations: 27.86 kB / 0.709 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.1838, allocations: 7.984 kB / 0.709 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1838, allocations: 15.94 kB / 0.709 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001003/0.1839, allocations: 123.9 kB / 0.7091 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1839, allocations: 0 / 0.7091 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004058/0.1844, allocations: 83.83 kB / 0.7092 GB, free: 3.281 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003468/0.1847, allocations: 167.2 kB / 0.7093 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.185, allocations: 132.4 kB / 0.7095 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.185, allocations: 0 / 0.7095 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.1851, allocations: 45.05 kB / 0.7095 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.1855, allocations: 55.92 kB / 0.7096 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.1862, allocations: 399.1 kB / 0.7099 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1866, allocations: 0.7128 MB / 0.7106 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.1868, allocations: 49.75 kB / 0.7107 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.1868, allocations: 27.42 kB / 0.7107 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1869, allocations: 0 / 0.7107 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.007594/0.1945, allocations: 3.416 MB / 0.7141 GB, free: 14.28 MB / 0.5137 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)