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.001142/0.001142, allocations: 105.6 kB / 15.99 MB, free: 6.352 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.001187/0.001187, allocations: 194.4 kB / 16.91 MB, free: 6.195 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.425/1.425, allocations: 222.9 MB / 240.6 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.8511/0.8511, allocations: 122.9 MB / 413.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001388, allocations: 59.91 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.327, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.006019/0.333, allocations: 4.737 MB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.3356, allocations: 2.693 MB / 0.5739 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.3358, allocations: 3.031 kB / 0.5739 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.3361, allocations: 35.77 kB / 0.574 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.3365, allocations: 89.22 kB / 0.574 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.3384, allocations: 472 kB / 0.5745 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.3389, allocations: 232.5 kB / 0.5747 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.339, allocations: 15.42 kB / 0.5747 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.3393, allocations: 110.8 kB / 0.5748 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.3396, allocations: 94.27 kB / 0.5749 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.3396, allocations: 8.938 kB / 0.5749 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.3408, allocations: 372.8 kB / 0.5753 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.341, allocations: 37.16 kB / 0.5753 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.3411, allocations: 86.39 kB / 0.5754 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.3421, allocations: 361.7 kB / 0.5758 GB, free: 26.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3421, allocations: 0 / 0.5758 GB, free: 26.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3421, allocations: 0 / 0.5758 GB, free: 26.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3421, allocations: 2.156 kB / 0.5758 GB, free: 26.55 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.0007684/0.3429, allocations: 0.5088 MB / 0.5763 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.343, allocations: 10.03 kB / 0.5763 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.3432, allocations: 24.03 kB / 0.5763 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.3434, allocations: 217.6 kB / 0.5765 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3434, allocations: 10.33 kB / 0.5765 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.3435, allocations: 15.16 kB / 0.5765 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.3441, allocations: 253.6 kB / 0.5768 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3441, allocations: 5.344 kB / 0.5768 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.3441, allocations: 7 kB / 0.5768 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/0.3442, allocations: 10.09 kB / 0.5768 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.3451, allocations: 434 kB / 0.5772 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.3464, allocations: 0.9371 MB / 0.5781 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.3468, allocations: 163.2 kB / 0.5783 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3469, allocations: 61.45 kB / 0.5783 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.348, allocations: 1.827 MB / 0.5801 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3481, allocations: 41.22 kB / 0.5801 GB, free: 22.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.364e-06/0.3481, allocations: 3 kB / 0.5802 GB, free: 22.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000357/0.3484, allocations: 146.4 kB / 0.5803 GB, free: 22.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.3485, allocations: 56.28 kB / 0.5803 GB, free: 22.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3486, allocations: 170.6 kB / 0.5805 GB, free: 22.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3487, allocations: 31.8 kB / 0.5805 GB, free: 22.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.3488, allocations: 145.3 kB / 0.5807 GB, free: 22.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.3488, allocations: 50.86 kB / 0.5807 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.3489, allocations: 54.34 kB / 0.5808 GB, free: 22.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.349, allocations: 323.5 kB / 0.5811 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.3491, allocations: 34.94 kB / 0.5811 GB, free: 21.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3492, allocations: 143.6 kB / 0.5813 GB, free: 21.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.3495, allocations: 203.8 kB / 0.5814 GB, free: 21.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3495, allocations: 2.75 kB / 0.5815 GB, free: 21.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003559/0.3498, allocations: 212.4 kB / 0.5817 GB, free: 21.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3499, allocations: 6.203 kB / 0.5817 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3499, allocations: 4.125 kB / 0.5817 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3499, allocations: 6.469 kB / 0.5817 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.3501, allocations: 58.89 kB / 0.5817 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.3501, allocations: 10.25 kB / 0.5817 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.3503, allocations: 25.38 kB / 0.5818 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3503, allocations: 12.98 kB / 0.5818 GB, free: 21.35 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 0.0001012/0.3504, allocations: 133.3 kB / 0.5819 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.3505, allocations: 16.91 kB / 0.5819 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.3508, allocations: 154.5 kB / 0.5821 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.3508, allocations: 6.016 kB / 0.5821 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3508, allocations: 5.312 kB / 0.5821 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.3508, allocations: 0.8438 kB / 0.5821 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3511, allocations: 218.3 kB / 0.5823 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3511, allocations: 0 / 0.5823 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-05/0.3512, allocations: 26.09 kB / 0.5823 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3512, allocations: 3.203 kB / 0.5823 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3512, allocations: 9.312 kB / 0.5823 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3512, allocations: 4.547 kB / 0.5823 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3512, allocations: 2.656 kB / 0.5823 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3515, allocations: 214 kB / 0.5825 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/0.3516, allocations: 113.5 kB / 0.5826 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.3516, allocations: 5.984 kB / 0.5826 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3518, allocations: 23.5 kB / 0.5827 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.3519, allocations: 17.73 kB / 0.5827 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.3519, allocations: 14 kB / 0.5827 GB, free: 20.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.352, allocations: 122 kB / 0.5828 GB, free: 20.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.352, allocations: 1.594 kB / 0.5828 GB, free: 20.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.3524, allocations: 79.52 kB / 0.5829 GB, free: 20.49 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.0003843/0.3528, allocations: 174 kB / 0.5831 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.3531, allocations: 125.3 kB / 0.5832 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3531, allocations: 1.062 kB / 0.5832 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.3532, allocations: 45.92 kB / 0.5832 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.3536, allocations: 59.97 kB / 0.5833 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007602/0.3544, allocations: 389.3 kB / 0.5836 GB, free: 20.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3546, allocations: 0.7157 MB / 0.5843 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.3548, allocations: 48.78 kB / 0.5844 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.3549, allocations: 25.75 kB / 0.5844 GB, free: 19.33 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3549, allocations: 0 / 0.5844 GB, free: 19.33 MB / 446.1 MB Notification: Performance of Templates: time 0.006808/0.3617, allocations: 3.408 MB / 0.5877 GB, free: 17.76 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)