Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 78.48 kB / 19.75 MB, free: 2.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 156.3 kB / 23 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.835/0.835, allocations: 101.3 MB / 361.1 MB, free: 10.1 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 67.89 kB / 0.5356 GB, free: 5.531 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1928, allocations: 85.88 MB / 0.6195 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006381/0.1992, allocations: 3.625 MB / 0.623 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002286/0.1994, allocations: 143.5 kB / 0.6232 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.1994, allocations: 0 / 0.6232 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.1995, allocations: 11.94 kB / 0.6232 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.1996, allocations: 7.984 kB / 0.6232 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.2001, allocations: 91.67 kB / 0.6233 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.545e-05/0.2001, allocations: 31.91 kB / 0.6233 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.2002, allocations: 3.938 kB / 0.6233 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.2002, allocations: 19.98 kB / 0.6233 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.2003, allocations: 15.91 kB / 0.6233 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2003, allocations: 4 kB / 0.6233 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006716/0.201, allocations: 207.4 kB / 0.6235 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.2011, allocations: 11.98 kB / 0.6235 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.2011, allocations: 7.938 kB / 0.6236 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.2012, allocations: 55.88 kB / 0.6236 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2012, allocations: 0 / 0.6236 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2012, allocations: 3.938 kB / 0.6236 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2012, allocations: 0 / 0.6236 GB, free: 13.64 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004456/0.2017, allocations: 258.3 kB / 0.6239 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2017, allocations: 12.03 kB / 0.6239 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.2018, allocations: 4.938 kB / 0.6239 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.2019, allocations: 110.5 kB / 0.624 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.935e-05/0.202, allocations: 55.95 kB / 0.624 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.202, allocations: 4.375 kB / 0.624 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.2022, allocations: 79.3 kB / 0.6241 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2022, allocations: 0 / 0.6241 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2022, allocations: 0 / 0.6241 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.2022, allocations: 0 / 0.6241 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.104e-05/0.2023, allocations: 23.92 kB / 0.6241 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.2027, allocations: 208.5 kB / 0.6243 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.857e-05/0.2028, allocations: 22.52 kB / 0.6244 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.2028, allocations: 8.922 kB / 0.6244 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.82e-05/0.2028, allocations: 7.984 kB / 0.6244 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2029, allocations: 38.5 kB / 0.6244 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2029, allocations: 0 / 0.6244 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000163/0.203, allocations: 41.64 kB / 0.6244 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.2031, allocations: 51.41 kB / 0.6245 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.2032, allocations: 105.8 kB / 0.6246 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2032, allocations: 25.7 kB / 0.6246 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.2032, allocations: 88.22 kB / 0.6247 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.2032, allocations: 3.953 kB / 0.6247 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.2033, allocations: 17.72 kB / 0.6247 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2034, allocations: 322.8 kB / 0.625 GB, free: 12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.2034, allocations: 0 / 0.625 GB, free: 12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.2035, allocations: 13.72 kB / 0.625 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.2035, allocations: 29.64 kB / 0.6251 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2035, allocations: 0 / 0.6251 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.565e-05/0.2036, allocations: 49.7 kB / 0.6251 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2036, allocations: 4 kB / 0.6251 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.2036, allocations: 3.984 kB / 0.6251 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2036, allocations: 0 / 0.6251 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.2037, allocations: 7.938 kB / 0.6251 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2037, allocations: 4 kB / 0.6251 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.2037, allocations: 0 / 0.6251 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.2037, allocations: 0 / 0.6251 GB, free: 11.87 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.297e-05/0.2038, allocations: 114.9 kB / 0.6253 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.2038, allocations: 4 kB / 0.6253 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.2039, allocations: 125 kB / 0.6254 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.304e-05/0.204, allocations: 184.2 kB / 0.6256 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.602e-05/0.2041, allocations: 176.3 kB / 0.6257 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.62e-05/0.2042, allocations: 180.2 kB / 0.6259 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.2044, allocations: 364.8 kB / 0.6262 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.396e-05/0.2044, allocations: 105 kB / 0.6263 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.2045, allocations: 104.9 kB / 0.6264 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-05/0.2046, allocations: 184.2 kB / 0.6266 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/0.2047, allocations: 184.2 kB / 0.6268 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.331e-05/0.2047, allocations: 180.2 kB / 0.627 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.661e-05/0.2048, allocations: 184.2 kB / 0.6271 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.205, allocations: 315.7 kB / 0.6274 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.205, allocations: 104.9 kB / 0.6275 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.2051, allocations: 180.3 kB / 0.6277 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2053, allocations: 105 kB / 0.6278 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.2055, allocations: 184.5 kB / 0.628 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.2055, allocations: 105 kB / 0.6281 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.2056, allocations: 87.27 kB / 0.6282 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2056, allocations: 3.938 kB / 0.6282 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002572/0.2058, allocations: 16 kB / 0.6282 GB, free: 8.559 MB / 0.5294 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001988/0.206, allocations: 190.5 kB / 0.6284 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.172e-05/0.2061, allocations: 15.94 kB / 0.6284 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2061, allocations: 0 / 0.6284 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.2061, allocations: 0 / 0.6284 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.2066, allocations: 465.5 kB / 0.6288 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.2069, allocations: 186.2 kB / 0.629 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.106e-05/0.207, allocations: 59.34 kB / 0.6291 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.28e-05/0.207, allocations: 12.11 kB / 0.6291 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.207, allocations: 12.5 kB / 0.6291 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.207, allocations: 0 / 0.6291 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of Templates: time 0.00339/0.2104, allocations: 0.6577 MB / 0.6297 GB, free: 6.941 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.417487250175327] Failed to read output from testmodel.py, exit status != 0: 0.219929373357445 0.236106316 0.031700716000000004 Calling exit ...