Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 104 kB / 16.52 MB, free: 6.27 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.001177/0.001177, allocations: 196 kB / 17.44 MB, free: 5.887 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.723/0.723, allocations: 115.3 MB / 406.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 59.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3627, allocations: 76.16 MB / 0.5564 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01745/0.3802, allocations: 13.87 MB / 0.5699 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.383, allocations: 2.687 MB / 0.5725 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.3832, allocations: 0 / 0.5725 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.3835, allocations: 37.44 kB / 0.5726 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.3839, allocations: 96.61 kB / 0.5727 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.3854, allocations: 453.9 kB / 0.5731 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.3859, allocations: 308 kB / 0.5734 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.907e-05/0.3859, allocations: 9.984 kB / 0.5734 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.3965, allocations: 3.156 MB / 0.5765 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.3968, allocations: 89.94 kB / 0.5766 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.3968, allocations: 7.406 kB / 0.5766 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.3999, allocations: 0.9787 MB / 0.5775 GB, free: 22.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.4, allocations: 39.62 kB / 0.5776 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.4002, allocations: 85.69 kB / 0.5777 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.4009, allocations: 244.9 kB / 0.5779 GB, free: 22.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4009, allocations: 0.9062 kB / 0.5779 GB, free: 22.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4009, allocations: 3.938 kB / 0.5779 GB, free: 22.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.4009, allocations: 0 / 0.5779 GB, free: 22.12 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.0009079/0.4018, allocations: 0.4932 MB / 0.5784 GB, free: 21.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4019, allocations: 12.62 kB / 0.5784 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.4021, allocations: 23.31 kB / 0.5784 GB, free: 21.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.4023, allocations: 221.5 kB / 0.5786 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.4024, allocations: 20.22 kB / 0.5786 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.4024, allocations: 14.34 kB / 0.5787 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.4028, allocations: 245.9 kB / 0.5789 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4028, allocations: 0 / 0.5789 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.4029, allocations: 7.906 kB / 0.5789 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.4029, allocations: 9.625 kB / 0.5789 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.4035, allocations: 433.4 kB / 0.5793 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.4046, allocations: 0.9702 MB / 0.5803 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.4049, allocations: 157.8 kB / 0.5804 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.405, allocations: 60.53 kB / 0.5805 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009928/0.406, allocations: 1.823 MB / 0.5823 GB, free: 18.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.4061, allocations: 49.55 kB / 0.5823 GB, free: 18.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.4061, allocations: 2 kB / 0.5823 GB, free: 18.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003418/0.4064, allocations: 141 kB / 0.5824 GB, free: 18.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.4064, allocations: 58.47 kB / 0.5825 GB, free: 18.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.4066, allocations: 165.4 kB / 0.5827 GB, free: 17.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4066, allocations: 28.17 kB / 0.5827 GB, free: 17.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.4067, allocations: 142 kB / 0.5828 GB, free: 17.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.4067, allocations: 58.73 kB / 0.5829 GB, free: 17.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.4068, allocations: 60.67 kB / 0.5829 GB, free: 17.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.4068, allocations: 323.3 kB / 0.5832 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.4069, allocations: 34.94 kB / 0.5833 GB, free: 17.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.407, allocations: 142.3 kB / 0.5834 GB, free: 17.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.4072, allocations: 197 kB / 0.5836 GB, free: 17.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4072, allocations: 0 / 0.5836 GB, free: 17.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003348/0.4076, allocations: 217.5 kB / 0.5838 GB, free: 16.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4076, allocations: 7.203 kB / 0.5838 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4076, allocations: 3.688 kB / 0.5838 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.4076, allocations: 5.938 kB / 0.5838 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.4078, allocations: 62.03 kB / 0.5839 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.4079, allocations: 6.828 kB / 0.5839 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.408, allocations: 33.72 kB / 0.5839 GB, free: 16.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.408, allocations: 12.31 kB / 0.5839 GB, free: 16.89 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.677e-05/0.4081, allocations: 130.4 kB / 0.5841 GB, free: 16.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.4082, allocations: 17.12 kB / 0.5841 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.4085, allocations: 157.2 kB / 0.5842 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4085, allocations: 6.312 kB / 0.5842 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4085, allocations: 0.6562 kB / 0.5842 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4085, allocations: 1.656 kB / 0.5842 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.4088, allocations: 219.7 kB / 0.5844 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4088, allocations: 1.062 kB / 0.5844 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.4089, allocations: 23.44 kB / 0.5845 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4089, allocations: 1.219 kB / 0.5845 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4089, allocations: 13.95 kB / 0.5845 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4089, allocations: 5.406 kB / 0.5845 GB, free: 16.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4089, allocations: 0.75 kB / 0.5845 GB, free: 16.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.4092, allocations: 217 kB / 0.5847 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.4093, allocations: 112 kB / 0.5848 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.4093, allocations: 1.938 kB / 0.5848 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.4095, allocations: 23.44 kB / 0.5848 GB, free: 16.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.4096, allocations: 8.875 kB / 0.5848 GB, free: 16.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.4096, allocations: 14.19 kB / 0.5848 GB, free: 16.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.911e-05/0.4097, allocations: 120.2 kB / 0.585 GB, free: 16.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4097, allocations: 0 / 0.585 GB, free: 16.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.4101, allocations: 84.53 kB / 0.585 GB, free: 16.05 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.0003417/0.4105, allocations: 192.3 kB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.4107, allocations: 120.5 kB / 0.5853 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4107, allocations: 2.062 kB / 0.5853 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.4108, allocations: 40.5 kB / 0.5854 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.4113, allocations: 58.08 kB / 0.5854 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/0.4119, allocations: 425.2 kB / 0.5858 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.4121, allocations: 0.7115 MB / 0.5865 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.4121, allocations: 31.38 kB / 0.5866 GB, free: 14.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4122, allocations: 0 / 0.5866 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Templates: time 0.006404/0.4186, allocations: 3.402 MB / 0.5899 GB, free: 13.84 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)