Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001227/0.001227, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7387/0.7387, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 56.31 kB / 0.5018 GB, free: 8.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1701, allocations: 80.2 MB / 0.5801 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01741/0.1875, allocations: 12.96 MB / 0.5928 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003421/0.191, allocations: 2.66 MB / 0.5954 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1912, allocations: 4 kB / 0.5954 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1916, allocations: 47.67 kB / 0.5954 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1919, allocations: 99.38 kB / 0.5955 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.1934, allocations: 0.5046 MB / 0.596 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.1938, allocations: 231.9 kB / 0.5962 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.1939, allocations: 17.48 kB / 0.5962 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009286/0.2032, allocations: 3.578 MB / 0.5997 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.2034, allocations: 95.59 kB / 0.5998 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.2034, allocations: 8 kB / 0.5998 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.206, allocations: 1.069 MB / 0.6009 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.2061, allocations: 35.89 kB / 0.6009 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.2062, allocations: 91.58 kB / 0.601 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007321/0.2069, allocations: 359.1 kB / 0.6013 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2069, allocations: 0 / 0.6013 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2069, allocations: 0 / 0.6013 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.2069, allocations: 4 kB / 0.6013 GB, free: 2.91 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.0007574/0.2077, allocations: 0.4953 MB / 0.6018 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2077, allocations: 12.03 kB / 0.6018 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.2079, allocations: 28.73 kB / 0.6019 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.2082, allocations: 216 kB / 0.6021 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2082, allocations: 20.69 kB / 0.6021 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.2082, allocations: 12.38 kB / 0.6021 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.2086, allocations: 256.8 kB / 0.6023 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2086, allocations: 0 / 0.6023 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.2086, allocations: 8 kB / 0.6023 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.2087, allocations: 4 kB / 0.6023 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.2091, allocations: 427.5 kB / 0.6028 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2103, allocations: 0.9683 MB / 0.6037 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.2105, allocations: 155.7 kB / 0.6038 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-05/0.2106, allocations: 65.75 kB / 0.6039 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2941/0.5048, allocations: 1.819 MB / 0.6057 GB, free: 56.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.5048, allocations: 40.34 kB / 0.6057 GB, free: 56.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.5048, allocations: 0 / 0.6057 GB, free: 56.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0004121/0.5053, allocations: 149 kB / 0.6059 GB, free: 56.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5053, allocations: 53.44 kB / 0.6059 GB, free: 56.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.5054, allocations: 170.1 kB / 0.6061 GB, free: 56.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5055, allocations: 31.89 kB / 0.6061 GB, free: 56.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.5056, allocations: 144.8 kB / 0.6063 GB, free: 55.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.5056, allocations: 48.64 kB / 0.6063 GB, free: 55.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.5057, allocations: 55.69 kB / 0.6064 GB, free: 55.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.5057, allocations: 325.3 kB / 0.6067 GB, free: 55.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.5058, allocations: 39.92 kB / 0.6067 GB, free: 55.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.5059, allocations: 138.4 kB / 0.6068 GB, free: 55.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.5061, allocations: 201 kB / 0.607 GB, free: 55.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5061, allocations: 3.25 kB / 0.607 GB, free: 55.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002696/0.5064, allocations: 212.1 kB / 0.6072 GB, free: 55.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.5064, allocations: 10.25 kB / 0.6072 GB, free: 55.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5064, allocations: 3.094 kB / 0.6072 GB, free: 55.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.5065, allocations: 9.875 kB / 0.6072 GB, free: 55.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.5066, allocations: 60.83 kB / 0.6073 GB, free: 55.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.5066, allocations: 5.906 kB / 0.6073 GB, free: 55.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.5068, allocations: 27.34 kB / 0.6073 GB, free: 55.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.5068, allocations: 22.28 kB / 0.6074 GB, free: 55.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/0.5069, allocations: 137.4 kB / 0.6075 GB, free: 55.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.5069, allocations: 13.84 kB / 0.6075 GB, free: 55.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.5072, allocations: 157.4 kB / 0.6077 GB, free: 55.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.5072, allocations: 0 / 0.6077 GB, free: 55.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5072, allocations: 2.562 kB / 0.6077 GB, free: 55.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5072, allocations: 3.516 kB / 0.6077 GB, free: 55.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.5074, allocations: 214.2 kB / 0.6079 GB, free: 54.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5074, allocations: 0 / 0.6079 GB, free: 54.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.5075, allocations: 28.75 kB / 0.6079 GB, free: 54.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5075, allocations: 3.938 kB / 0.6079 GB, free: 54.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5075, allocations: 6.281 kB / 0.6079 GB, free: 54.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5075, allocations: 0 / 0.6079 GB, free: 54.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5075, allocations: 3.656 kB / 0.6079 GB, free: 54.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.5077, allocations: 219.5 kB / 0.6081 GB, free: 54.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.5078, allocations: 111.6 kB / 0.6082 GB, free: 54.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.5078, allocations: 6.188 kB / 0.6082 GB, free: 54.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.508, allocations: 12.8 kB / 0.6082 GB, free: 54.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.508, allocations: 12.61 kB / 0.6083 GB, free: 54.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5081, allocations: 15.11 kB / 0.6083 GB, free: 54.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.648e-05/0.5081, allocations: 119 kB / 0.6084 GB, free: 54.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5081, allocations: 0 / 0.6084 GB, free: 54.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003479/0.5085, allocations: 80.27 kB / 0.6085 GB, free: 54.62 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 (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.0003225/0.5088, allocations: 193.5 kB / 0.6086 GB, free: 54.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.509, allocations: 126 kB / 0.6088 GB, free: 54.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5091, allocations: 2.781 kB / 0.6088 GB, free: 54.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.415e-05/0.5091, allocations: 44.7 kB / 0.6088 GB, free: 54.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.5095, allocations: 53.08 kB / 0.6089 GB, free: 54.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.5101, allocations: 354.8 kB / 0.6092 GB, free: 54.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.5102, allocations: 0.7186 MB / 0.6099 GB, free: 53.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.5104, allocations: 53.69 kB / 0.6099 GB, free: 53.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.5104, allocations: 25.36 kB / 0.61 GB, free: 53.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5104, allocations: 0 / 0.61 GB, free: 53.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.005884/0.5163, allocations: 3.611 MB / 0.6135 GB, free: 53.35 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)