Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001042/0.001042, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.001175/0.001175, allocations: 208 kB / 23.01 MB, free: 3.117 MB / 13.93 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 0.8921/0.8921, allocations: 230.6 MB / 256.8 MB, free: 3.465 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7608/0.7608, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008961/0.0008961, allocations: 67.89 kB / 0.7194 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4893, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004374/0.4937, allocations: 3.824 MB / 0.8228 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.4938, allocations: 161 kB / 0.823 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.4938, allocations: 0.75 kB / 0.823 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.4939, allocations: 2.109 kB / 0.823 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.494, allocations: 9.172 kB / 0.823 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.4943, allocations: 95.42 kB / 0.8231 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.4944, allocations: 34.55 kB / 0.8231 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.4945, allocations: 6.094 kB / 0.8231 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.4945, allocations: 19.67 kB / 0.8231 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.4946, allocations: 9.359 kB / 0.8231 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.4946, allocations: 2.156 kB / 0.8231 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.4951, allocations: 242.2 kB / 0.8234 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.4952, allocations: 12.5 kB / 0.8234 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.4952, allocations: 9.719 kB / 0.8234 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.4953, allocations: 63.02 kB / 0.8234 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4954, allocations: 1.469 kB / 0.8234 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4954, allocations: 5 kB / 0.8234 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4954, allocations: 0 / 0.8234 GB, free: 22.25 MB / 0.6355 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.0002908/0.4956, allocations: 259.8 kB / 0.8237 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4957, allocations: 11.94 kB / 0.8237 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.4957, allocations: 1.812 kB / 0.8237 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.912e-05/0.4958, allocations: 113.4 kB / 0.8238 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.4958, allocations: 58.03 kB / 0.8239 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.4959, allocations: 1.5 kB / 0.8239 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.496, allocations: 47.88 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.496, allocations: 0 / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.496, allocations: 3.969 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.496, allocations: 1.906 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.496, allocations: 15.92 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.4963, allocations: 230.3 kB / 0.8242 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.418e-05/0.4964, allocations: 25.47 kB / 0.8242 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.4964, allocations: 5.953 kB / 0.8242 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.4964, allocations: 7.859 kB / 0.8242 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.4964, allocations: 35.47 kB / 0.8242 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.4964, allocations: 0 / 0.8242 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.4966, allocations: 37.62 kB / 0.8243 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.4966, allocations: 52.06 kB / 0.8243 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.4966, allocations: 107.2 kB / 0.8244 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.4966, allocations: 26.42 kB / 0.8244 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.4967, allocations: 90.02 kB / 0.8245 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-06/0.4967, allocations: 8.922 kB / 0.8245 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.4967, allocations: 18.88 kB / 0.8246 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.902e-05/0.4967, allocations: 316 kB / 0.8249 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.4967, allocations: 7.625 kB / 0.8249 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.4968, allocations: 22.72 kB / 0.8249 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.4968, allocations: 22.34 kB / 0.8249 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4968, allocations: 0 / 0.8249 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.512e-05/0.4968, allocations: 46.14 kB / 0.825 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4969, allocations: 5.562 kB / 0.825 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4969, allocations: 0.6094 kB / 0.825 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.4969, allocations: 1.156 kB / 0.825 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.4969, allocations: 5.75 kB / 0.825 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4969, allocations: 9.531 kB / 0.825 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.4969, allocations: 0.5312 kB / 0.825 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.4969, allocations: 2.344 kB / 0.825 GB, free: 20.67 MB / 0.6355 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 3.843e-05/0.497, allocations: 117.3 kB / 0.8251 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.497, allocations: 1.875 kB / 0.8251 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.4971, allocations: 122.4 kB / 0.8252 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.4971, allocations: 190.2 kB / 0.8254 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.4971, allocations: 182.2 kB / 0.8256 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.4971, allocations: 178.2 kB / 0.8257 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.852e-05/0.4972, allocations: 379 kB / 0.8261 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4972, allocations: 106.9 kB / 0.8262 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-06/0.4972, allocations: 105.6 kB / 0.8263 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.4972, allocations: 182.2 kB / 0.8265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4972, allocations: 182.3 kB / 0.8266 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/0.4973, allocations: 182 kB / 0.8268 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-05/0.4973, allocations: 178.2 kB / 0.827 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.294e-05/0.4973, allocations: 318.1 kB / 0.8273 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.4973, allocations: 107 kB / 0.8274 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4974, allocations: 179.3 kB / 0.8276 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.4974, allocations: 110.2 kB / 0.8277 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.4975, allocations: 181 kB / 0.8278 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4975, allocations: 107.1 kB / 0.8279 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.719e-05/0.4975, allocations: 85.59 kB / 0.828 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4975, allocations: 3.938 kB / 0.828 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001695/0.4977, allocations: 21.61 kB / 0.828 GB, free: 17.39 MB / 0.6355 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.0001398/0.4978, allocations: 192.6 kB / 0.8282 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.036e-05/0.4979, allocations: 11.75 kB / 0.8282 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4979, allocations: 0.5625 kB / 0.8282 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.4979, allocations: 4.688 kB / 0.8282 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4981, allocations: 462.2 kB / 0.8287 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.4984, allocations: 206.2 kB / 0.8289 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.538e-05/0.4984, allocations: 0.6743 MB / 0.8295 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.4984, allocations: 14.47 kB / 0.8296 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4984, allocations: 0 / 0.8296 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.002112/0.5006, allocations: 0.718 MB / 0.8303 GB, free: 15.79 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.805360410828143] Failed to read output from testmodel.py, exit status != 0: 0.505650914972648 0.513961153 0.016874474 Calling exit ...