Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 103.3 kB / 16.64 MB, free: 6.824 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.001972/0.001972, allocations: 189.9 kB / 17.56 MB, free: 5.941 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.419/1.419, allocations: 222.9 MB / 241.3 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8037/0.8037, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.91 kB / 0.4943 GB, free: 4.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4331, allocations: 78.57 MB / 0.571 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005127/0.4382, allocations: 4.735 MB / 0.5756 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.4405, allocations: 2.693 MB / 0.5783 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.4406, allocations: 1.062 kB / 0.5783 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.4409, allocations: 42.12 kB / 0.5783 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.4411, allocations: 88.78 kB / 0.5784 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.4423, allocations: 462.6 kB / 0.5788 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.4425, allocations: 239.6 kB / 0.579 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.4425, allocations: 9.609 kB / 0.5791 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.4427, allocations: 119.2 kB / 0.5792 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.4429, allocations: 94.03 kB / 0.5793 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.4429, allocations: 9.062 kB / 0.5793 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000621/0.4435, allocations: 372.7 kB / 0.5796 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.4436, allocations: 39.53 kB / 0.5797 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.4437, allocations: 80.23 kB / 0.5797 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.444, allocations: 244.9 kB / 0.58 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4441, allocations: 0.7188 kB / 0.58 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4441, allocations: 0 / 0.58 GB, free: 25.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.4441, allocations: 0.5 kB / 0.58 GB, free: 25.48 MB / 446.1 MB 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.0006642/0.4447, allocations: 0.5013 MB / 0.5805 GB, free: 25.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4448, allocations: 9.625 kB / 0.5805 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.445, allocations: 24.16 kB / 0.5805 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.4452, allocations: 217.3 kB / 0.5807 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4452, allocations: 11.61 kB / 0.5807 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4452, allocations: 15.38 kB / 0.5807 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.4456, allocations: 251.2 kB / 0.581 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4456, allocations: 5.656 kB / 0.581 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.4456, allocations: 7.266 kB / 0.581 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.4456, allocations: 10.11 kB / 0.581 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.4461, allocations: 430.2 kB / 0.5814 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009164/0.447, allocations: 0.9456 MB / 0.5823 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.4473, allocations: 160.3 kB / 0.5825 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.271e-05/0.4474, allocations: 67.25 kB / 0.5825 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009236/0.4483, allocations: 1.825 MB / 0.5843 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.4484, allocations: 38.47 kB / 0.5844 GB, free: 21.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.4484, allocations: 0 / 0.5844 GB, free: 21.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003301/0.4487, allocations: 148.3 kB / 0.5845 GB, free: 21.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.4487, allocations: 56.66 kB / 0.5846 GB, free: 21.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4489, allocations: 169.7 kB / 0.5847 GB, free: 21.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4489, allocations: 28.89 kB / 0.5847 GB, free: 21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.449, allocations: 143.1 kB / 0.5849 GB, free: 20.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.449, allocations: 54.89 kB / 0.5849 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.4491, allocations: 52.55 kB / 0.585 GB, free: 20.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.954e-05/0.4491, allocations: 324 kB / 0.5853 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.4492, allocations: 33.98 kB / 0.5853 GB, free: 20.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4493, allocations: 149 kB / 0.5855 GB, free: 20.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.4495, allocations: 197.3 kB / 0.5857 GB, free: 20.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4495, allocations: 0 / 0.5857 GB, free: 20.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002813/0.4498, allocations: 215.6 kB / 0.5859 GB, free: 19.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4498, allocations: 6.344 kB / 0.5859 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4498, allocations: 4 kB / 0.5859 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4498, allocations: 9.922 kB / 0.5859 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.45, allocations: 57.95 kB / 0.5859 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.45, allocations: 4.906 kB / 0.5859 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.4501, allocations: 25.09 kB / 0.586 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.4502, allocations: 20.48 kB / 0.586 GB, free: 19.95 MB / 446.1 MB 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 9.671e-05/0.4503, allocations: 133.9 kB / 0.5861 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.4503, allocations: 16.75 kB / 0.5861 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.4506, allocations: 167.7 kB / 0.5863 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4506, allocations: 7.156 kB / 0.5863 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4506, allocations: 1.719 kB / 0.5863 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4506, allocations: 3.984 kB / 0.5863 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.4508, allocations: 209.5 kB / 0.5865 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4508, allocations: 2.906 kB / 0.5865 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/0.4509, allocations: 22.58 kB / 0.5865 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4509, allocations: 1.156 kB / 0.5865 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4509, allocations: 6.25 kB / 0.5865 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.451, allocations: 5.094 kB / 0.5865 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.451, allocations: 0.8438 kB / 0.5865 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.4512, allocations: 222 kB / 0.5867 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.4512, allocations: 111.3 kB / 0.5869 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.4513, allocations: 5.281 kB / 0.5869 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4515, allocations: 15.55 kB / 0.5869 GB, free: 19.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.4515, allocations: 15.36 kB / 0.5869 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.4515, allocations: 18.55 kB / 0.5869 GB, free: 19.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.4516, allocations: 119.6 kB / 0.587 GB, free: 19.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4516, allocations: 1.344 kB / 0.587 GB, free: 19.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.452, allocations: 75.75 kB / 0.5871 GB, free: 19.02 MB / 446.1 MB 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.0003664/0.4523, allocations: 181 kB / 0.5873 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.4526, allocations: 128.5 kB / 0.5874 GB, free: 18.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4526, allocations: 1.562 kB / 0.5874 GB, free: 18.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.4527, allocations: 55.41 kB / 0.5874 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.4531, allocations: 44.22 kB / 0.5875 GB, free: 18.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.4537, allocations: 416.4 kB / 0.5879 GB, free: 18.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.4539, allocations: 0.7134 MB / 0.5886 GB, free: 17.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.4539, allocations: 32.17 kB / 0.5886 GB, free: 17.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.454, allocations: 0 / 0.5886 GB, free: 17.77 MB / 446.1 MB Notification: Performance of Templates: time 0.004781/0.4587, allocations: 3.162 MB / 0.5917 GB, free: 16.15 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)