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.001041/0.001042, allocations: 102.5 kB / 16.27 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.0011/0.0011, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.834/0.834, allocations: 126.4 MB / 417.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.91 kB / 0.4953 GB, free: 3.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4121, allocations: 78.78 MB / 0.5723 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0177/0.4298, allocations: 12.96 MB / 0.5849 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.4327, allocations: 2.667 MB / 0.5875 GB, free: 19.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.4328, allocations: 1.125 kB / 0.5875 GB, free: 19.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.4332, allocations: 48.58 kB / 0.5876 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.4336, allocations: 102.5 kB / 0.5877 GB, free: 19.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.4348, allocations: 0.4985 MB / 0.5881 GB, free: 18.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.4351, allocations: 226.9 kB / 0.5884 GB, free: 18.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.972e-05/0.4351, allocations: 13.5 kB / 0.5884 GB, free: 18.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009713/0.4449, allocations: 3.583 MB / 0.5919 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.4451, allocations: 92.94 kB / 0.592 GB, free: 16.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.4452, allocations: 7.906 kB / 0.592 GB, free: 16.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/0.4485, allocations: 1.063 MB / 0.593 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4486, allocations: 37.92 kB / 0.593 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.4488, allocations: 84.48 kB / 0.5931 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.4498, allocations: 362.8 kB / 0.5935 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4498, allocations: 0 / 0.5935 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4499, allocations: 0 / 0.5935 GB, free: 15.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4499, allocations: 1.312 kB / 0.5935 GB, free: 15.49 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.0008161/0.4507, allocations: 0.5016 MB / 0.594 GB, free: 15.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4508, allocations: 8.938 kB / 0.594 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.4509, allocations: 26.52 kB / 0.594 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.4511, allocations: 216.3 kB / 0.5942 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4512, allocations: 15.81 kB / 0.5942 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.4512, allocations: 18.56 kB / 0.5942 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.4516, allocations: 249.3 kB / 0.5945 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4516, allocations: 5.062 kB / 0.5945 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.4516, allocations: 10.66 kB / 0.5945 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.4517, allocations: 9.141 kB / 0.5945 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.4522, allocations: 428.4 kB / 0.5949 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/0.4532, allocations: 0.9583 MB / 0.5958 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.4535, allocations: 167 kB / 0.596 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4536, allocations: 63.06 kB / 0.5961 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009814/0.4546, allocations: 1.843 MB / 0.5979 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4546, allocations: 32.22 kB / 0.5979 GB, free: 11.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.4546, allocations: 1.219 kB / 0.5979 GB, free: 11.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003356/0.455, allocations: 144 kB / 0.598 GB, free: 11.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.455, allocations: 58 kB / 0.5981 GB, free: 11.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.4552, allocations: 178.6 kB / 0.5983 GB, free: 10.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.4552, allocations: 31.17 kB / 0.5983 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.4553, allocations: 144.1 kB / 0.5984 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.4553, allocations: 58.06 kB / 0.5985 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.4554, allocations: 52.05 kB / 0.5985 GB, free: 10.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.4554, allocations: 322.7 kB / 0.5988 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.4555, allocations: 41.41 kB / 0.5989 GB, free: 10.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4556, allocations: 138.4 kB / 0.599 GB, free: 10.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.4558, allocations: 201.1 kB / 0.5992 GB, free: 9.926 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4558, allocations: 1.25 kB / 0.5992 GB, free: 9.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002716/0.4561, allocations: 218 kB / 0.5994 GB, free: 9.719 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4561, allocations: 4 kB / 0.5994 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4561, allocations: 4 kB / 0.5994 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4562, allocations: 8 kB / 0.5994 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.4563, allocations: 56.31 kB / 0.5995 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4563, allocations: 7.938 kB / 0.5995 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.4564, allocations: 27.75 kB / 0.5995 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4565, allocations: 16 kB / 0.5995 GB, free: 9.598 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.134e-05/0.4566, allocations: 129.7 kB / 0.5997 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.4566, allocations: 11.91 kB / 0.5997 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.4569, allocations: 162.3 kB / 0.5998 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.4569, allocations: 3.938 kB / 0.5998 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4569, allocations: 0 / 0.5998 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4569, allocations: 4 kB / 0.5998 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.4571, allocations: 217.5 kB / 0.6 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4571, allocations: 0 / 0.6 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.4572, allocations: 23.94 kB / 0.6001 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4572, allocations: 4 kB / 0.6001 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4572, allocations: 3.984 kB / 0.6001 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4572, allocations: 3.938 kB / 0.6001 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4572, allocations: 0 / 0.6001 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.4574, allocations: 220.8 kB / 0.6003 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.4575, allocations: 120.8 kB / 0.6004 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.4575, allocations: 0 / 0.6004 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.4577, allocations: 19.92 kB / 0.6004 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.4578, allocations: 19.86 kB / 0.6004 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.4578, allocations: 8 kB / 0.6004 GB, free: 8.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.353e-05/0.4579, allocations: 125.5 kB / 0.6006 GB, free: 8.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4579, allocations: 0 / 0.6006 GB, free: 8.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.4582, allocations: 83.98 kB / 0.6006 GB, free: 8.375 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.0003502/0.4586, allocations: 189.3 kB / 0.6008 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.4588, allocations: 130.7 kB / 0.6009 GB, free: 8.059 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4588, allocations: 0 / 0.6009 GB, free: 8.059 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.4589, allocations: 43.92 kB / 0.601 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.4593, allocations: 52.5 kB / 0.601 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.4599, allocations: 338.7 kB / 0.6014 GB, free: 7.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.4601, allocations: 0.7131 MB / 0.6021 GB, free: 6.867 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.4602, allocations: 56.47 kB / 0.6021 GB, free: 6.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.4603, allocations: 19.44 kB / 0.6021 GB, free: 6.801 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4603, allocations: 3.938 kB / 0.6021 GB, free: 6.797 MB / 446.1 MB Notification: Performance of Templates: time 0.00632/0.4666, allocations: 3.626 MB / 0.6057 GB, free: 3.227 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)