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.001331/0.001332, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001209/0.001209, allocations: 192 kB / 17.2 MB, free: 5.598 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.461/1.461, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8348/0.8348, allocations: 126.7 MB / 417.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 64.08 kB / 0.4957 GB, free: 2.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4052, allocations: 78.86 MB / 0.5728 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01512/0.4203, allocations: 12.95 MB / 0.5854 GB, free: 21.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.4229, allocations: 2.674 MB / 0.588 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.4231, allocations: 2.281 kB / 0.588 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.4235, allocations: 46.58 kB / 0.5881 GB, free: 19.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.4238, allocations: 95.8 kB / 0.5882 GB, free: 18.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.425, allocations: 0.4999 MB / 0.5886 GB, free: 18.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.4253, allocations: 221.3 kB / 0.5889 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.145e-05/0.4254, allocations: 13.36 kB / 0.5889 GB, free: 18.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.4354, allocations: 3.586 MB / 0.5924 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.4357, allocations: 97.12 kB / 0.5925 GB, free: 16.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.4357, allocations: 11.47 kB / 0.5925 GB, free: 16.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.439, allocations: 1.06 MB / 0.5935 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.162e-05/0.4391, allocations: 38.73 kB / 0.5936 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.4393, allocations: 80.31 kB / 0.5936 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009383/0.4402, allocations: 366 kB / 0.594 GB, free: 15.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4402, allocations: 4 kB / 0.594 GB, free: 15.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4402, allocations: 1.281 kB / 0.594 GB, free: 15.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.4402, allocations: 3.984 kB / 0.594 GB, free: 15.2 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.001041/0.4413, allocations: 0.4906 MB / 0.5945 GB, free: 14.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.4414, allocations: 9.375 kB / 0.5945 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.4416, allocations: 21.84 kB / 0.5945 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.4418, allocations: 224.7 kB / 0.5947 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.4419, allocations: 12.05 kB / 0.5947 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.4419, allocations: 14.97 kB / 0.5947 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.4424, allocations: 249.2 kB / 0.595 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4424, allocations: 0 / 0.595 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.4424, allocations: 7.156 kB / 0.595 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.4425, allocations: 10.12 kB / 0.595 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.4431, allocations: 432.8 kB / 0.5954 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.4441, allocations: 0.9584 MB / 0.5963 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.4444, allocations: 165.9 kB / 0.5965 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.4446, allocations: 74.25 kB / 0.5966 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.4457, allocations: 1.831 MB / 0.5984 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4457, allocations: 37.02 kB / 0.5984 GB, free: 10.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.4458, allocations: 4 kB / 0.5984 GB, free: 10.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000387/0.4461, allocations: 137.8 kB / 0.5985 GB, free: 10.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.4462, allocations: 60.69 kB / 0.5986 GB, free: 10.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4463, allocations: 175.2 kB / 0.5987 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.4464, allocations: 33.7 kB / 0.5988 GB, free: 10.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.4464, allocations: 139.8 kB / 0.5989 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.4464, allocations: 55.22 kB / 0.599 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.4465, allocations: 53.61 kB / 0.599 GB, free: 10.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.4466, allocations: 330.8 kB / 0.5993 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.4466, allocations: 35.98 kB / 0.5994 GB, free: 9.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.4467, allocations: 137.7 kB / 0.5995 GB, free: 9.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.4469, allocations: 203.5 kB / 0.5997 GB, free: 9.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4469, allocations: 0 / 0.5997 GB, free: 9.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002611/0.4472, allocations: 209.1 kB / 0.5999 GB, free: 9.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4472, allocations: 8.453 kB / 0.5999 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4472, allocations: 8 kB / 0.5999 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.4472, allocations: 11.94 kB / 0.5999 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4474, allocations: 55.86 kB / 0.6 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4474, allocations: 11.94 kB / 0.6 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.4475, allocations: 23.75 kB / 0.6 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4475, allocations: 19.98 kB / 0.6 GB, free: 9.156 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 8.133e-05/0.4476, allocations: 129.7 kB / 0.6002 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.4477, allocations: 11.91 kB / 0.6002 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.4479, allocations: 161.2 kB / 0.6003 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.448, allocations: 3.938 kB / 0.6003 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.448, allocations: 0 / 0.6003 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.448, allocations: 3.984 kB / 0.6003 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.4482, allocations: 213.5 kB / 0.6005 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4482, allocations: 4 kB / 0.6005 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.4483, allocations: 27.92 kB / 0.6006 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.4483, allocations: 4 kB / 0.6006 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4483, allocations: 0 / 0.6006 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4483, allocations: 3.938 kB / 0.6006 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4483, allocations: 4 kB / 0.6006 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.4485, allocations: 219.3 kB / 0.6008 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.4486, allocations: 112.8 kB / 0.6009 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.4486, allocations: 4 kB / 0.6009 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.4488, allocations: 15.92 kB / 0.6009 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.4488, allocations: 11.98 kB / 0.6009 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.4488, allocations: 15.98 kB / 0.6009 GB, free: 8.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.982e-05/0.4489, allocations: 122.3 kB / 0.601 GB, free: 8.027 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.4489, allocations: 0 / 0.601 GB, free: 8.027 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.4493, allocations: 83.94 kB / 0.6011 GB, free: 7.945 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.0002784/0.4496, allocations: 187.1 kB / 0.6013 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4498, allocations: 121.9 kB / 0.6014 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4498, allocations: 4 kB / 0.6014 GB, free: 7.633 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.4499, allocations: 43.92 kB / 0.6015 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.4503, allocations: 62.58 kB / 0.6015 GB, free: 7.531 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.451, allocations: 342.6 kB / 0.6019 GB, free: 7.168 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.4511, allocations: 0.7209 MB / 0.6026 GB, free: 6.418 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.4513, allocations: 45.09 kB / 0.6026 GB, free: 6.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.4513, allocations: 23.44 kB / 0.6026 GB, free: 6.355 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4513, allocations: 0 / 0.6026 GB, free: 6.355 MB / 446.1 MB Notification: Performance of Templates: time 0.00665/0.458, allocations: 3.641 MB / 0.6062 GB, free: 2.77 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)