Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.000944/0.0009439, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001081/0.001082, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005156/0.0005158, allocations: 8 kB / 0.507 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 82.31 MB / 0.5874 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01437/0.2307, allocations: 12 MB / 0.5991 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.2334, allocations: 2.455 MB / 0.6015 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.72e-05/0.2335, allocations: 4 kB / 0.6015 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.2338, allocations: 39.73 kB / 0.6015 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.2341, allocations: 79.5 kB / 0.6016 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2353, allocations: 421.3 kB / 0.602 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.2356, allocations: 263.9 kB / 0.6023 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.2357, allocations: 13.5 kB / 0.6023 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4003/0.6359, allocations: 4.366 MB / 0.6065 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.6364, allocations: 94.78 kB / 0.6066 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.6364, allocations: 9.75 kB / 0.6066 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.64, allocations: 0.9344 MB / 0.6076 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.6401, allocations: 38.91 kB / 0.6076 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.6402, allocations: 55.55 kB / 0.6076 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008403/0.6411, allocations: 229 kB / 0.6079 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.6411, allocations: 0 / 0.6079 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.25e-06/0.6411, allocations: 0 / 0.6079 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.6411, allocations: 0 / 0.6079 GB, free: 37.57 MB / 0.4981 GB 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.00108/0.6422, allocations: 475.2 kB / 0.6083 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.336e-05/0.6423, allocations: 10.66 kB / 0.6083 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.6425, allocations: 28.31 kB / 0.6084 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.6429, allocations: 209.1 kB / 0.6085 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.6429, allocations: 19.39 kB / 0.6086 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.6429, allocations: 12.25 kB / 0.6086 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.6434, allocations: 236.6 kB / 0.6088 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.6435, allocations: 6.719 kB / 0.6088 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.6435, allocations: 9.422 kB / 0.6088 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.6436, allocations: 13.42 kB / 0.6088 GB, free: 36.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.6442, allocations: 431.2 kB / 0.6092 GB, free: 36.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.6456, allocations: 0.9564 MB / 0.6102 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.646, allocations: 154.7 kB / 0.6103 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.6461, allocations: 66.55 kB / 0.6104 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.6475, allocations: 1.827 MB / 0.6122 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.6476, allocations: 41 kB / 0.6122 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.384e-06/0.6476, allocations: 3.375 kB / 0.6122 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003891/0.648, allocations: 146 kB / 0.6124 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.6481, allocations: 58.61 kB / 0.6124 GB, free: 34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.6482, allocations: 173 kB / 0.6126 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.6483, allocations: 28.89 kB / 0.6126 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.6483, allocations: 138.2 kB / 0.6127 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.6484, allocations: 50.42 kB / 0.6128 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.6484, allocations: 9.859 kB / 0.6128 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.6485, allocations: 330.9 kB / 0.6131 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.6486, allocations: 29.44 kB / 0.6131 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.6487, allocations: 139.6 kB / 0.6133 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.6488, allocations: 61.98 kB / 0.6133 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.6488, allocations: 6.766 kB / 0.6133 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002962/0.6491, allocations: 213.4 kB / 0.6135 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6492, allocations: 7.312 kB / 0.6135 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6492, allocations: 3 kB / 0.6135 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.6492, allocations: 6.031 kB / 0.6136 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.6494, allocations: 54.22 kB / 0.6136 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.6494, allocations: 6.469 kB / 0.6136 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.6495, allocations: 30.89 kB / 0.6136 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.6495, allocations: 14.88 kB / 0.6137 GB, free: 33.2 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.6497, allocations: 136.9 kB / 0.6138 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.6497, allocations: 22.86 kB / 0.6138 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.65, allocations: 149.9 kB / 0.614 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.65, allocations: 2.812 kB / 0.614 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.65, allocations: 3.188 kB / 0.614 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6501, allocations: 0.9375 kB / 0.614 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.6503, allocations: 213.9 kB / 0.6142 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6503, allocations: 3.188 kB / 0.6142 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.6504, allocations: 26.14 kB / 0.6142 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6504, allocations: 13.31 kB / 0.6142 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.6504, allocations: 4.406 kB / 0.6142 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6504, allocations: 3 kB / 0.6142 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6504, allocations: 0 / 0.6142 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.6507, allocations: 219.6 kB / 0.6144 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.6508, allocations: 106.9 kB / 0.6145 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.6508, allocations: 11.7 kB / 0.6145 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.651, allocations: 20.86 kB / 0.6146 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.6511, allocations: 12.19 kB / 0.6146 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.6511, allocations: 15.52 kB / 0.6146 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.635e-05/0.6512, allocations: 120.8 kB / 0.6147 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6512, allocations: 2.906 kB / 0.6147 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004246/0.6516, allocations: 75.56 kB / 0.6148 GB, free: 32.5 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003211/0.6519, allocations: 171.4 kB / 0.6149 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.6522, allocations: 117.4 kB / 0.615 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6522, allocations: 3.875 kB / 0.615 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.6523, allocations: 51.09 kB / 0.6151 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.6528, allocations: 52.19 kB / 0.6151 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/0.6537, allocations: 430 kB / 0.6156 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.6539, allocations: 0.713 MB / 0.6163 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.6541, allocations: 50.41 kB / 0.6163 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.6541, allocations: 28.02 kB / 0.6163 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.6541, allocations: 0 / 0.6163 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of Templates: time 0.006724/0.6609, allocations: 3.387 MB / 0.6196 GB, free: 31.15 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)