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.0007767/0.0007767, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.000785/0.000785, allocations: 212.7 kB / 23 MB, free: 2.977 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.9063/0.9063, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7762/0.7762, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.0009773/0.0009773, allocations: 63.17 kB / 0.7194 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4884, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004553/0.4929, allocations: 3.638 MB / 0.8225 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001668/0.4931, allocations: 141.6 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.4931, allocations: 0 / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.4933, allocations: 4.984 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.4933, allocations: 18.41 kB / 0.8227 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.4937, allocations: 84.16 kB / 0.8228 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.4938, allocations: 35.98 kB / 0.8228 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.4938, allocations: 5.234 kB / 0.8228 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.4939, allocations: 15.69 kB / 0.8228 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.4939, allocations: 17.2 kB / 0.8229 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.494, allocations: 5.062 kB / 0.8229 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.4945, allocations: 203.6 kB / 0.8231 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.4945, allocations: 12.42 kB / 0.8231 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.4946, allocations: 13.02 kB / 0.8231 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.4947, allocations: 56.03 kB / 0.8231 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4947, allocations: 0.7969 kB / 0.8231 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4947, allocations: 0 / 0.8231 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4947, allocations: 1.438 kB / 0.8231 GB, free: 14.56 MB / 0.6198 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.0003717/0.4951, allocations: 256.2 kB / 0.8234 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4951, allocations: 13.16 kB / 0.8234 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.4952, allocations: 2.344 kB / 0.8234 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.18e-05/0.4953, allocations: 109.5 kB / 0.8235 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.4953, allocations: 55.16 kB / 0.8235 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.4954, allocations: 384 / 0.8235 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.4955, allocations: 82.5 kB / 0.8236 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4955, allocations: 0 / 0.8236 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4955, allocations: 0.5156 kB / 0.8236 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.4955, allocations: 1.953 kB / 0.8236 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.4956, allocations: 12.2 kB / 0.8236 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.4959, allocations: 213.1 kB / 0.8238 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.496, allocations: 22.36 kB / 0.8239 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.496, allocations: 10.05 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.4961, allocations: 6.484 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4961, allocations: 32.75 kB / 0.8239 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4961, allocations: 0 / 0.8239 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.4962, allocations: 34.39 kB / 0.8239 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.4962, allocations: 55.34 kB / 0.824 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.4963, allocations: 107.4 kB / 0.8241 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.4963, allocations: 31.48 kB / 0.8241 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.4964, allocations: 88.83 kB / 0.8242 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.4964, allocations: 10.12 kB / 0.8242 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.4964, allocations: 15.31 kB / 0.8242 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.4965, allocations: 316.8 kB / 0.8245 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.4965, allocations: 4.203 kB / 0.8245 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.4965, allocations: 17.86 kB / 0.8246 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.4966, allocations: 21.25 kB / 0.8246 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4966, allocations: 5.125 kB / 0.8246 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.277e-05/0.4966, allocations: 50.05 kB / 0.8246 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4966, allocations: 5.312 kB / 0.8246 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4967, allocations: 1.062 kB / 0.8246 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4967, allocations: 0.6094 kB / 0.8246 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.4967, allocations: 6.609 kB / 0.8246 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4967, allocations: 0.6094 kB / 0.8247 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.4967, allocations: 5.5 kB / 0.8247 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.4967, allocations: 2.516 kB / 0.8247 GB, free: 12.98 MB / 0.6198 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 5.893e-05/0.4968, allocations: 116.5 kB / 0.8248 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.4968, allocations: 6.047 kB / 0.8248 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.4969, allocations: 129.9 kB / 0.8249 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.452e-05/0.497, allocations: 182.3 kB / 0.8251 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.46e-05/0.497, allocations: 178.3 kB / 0.8252 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-05/0.4971, allocations: 178.9 kB / 0.8254 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.4972, allocations: 363.4 kB / 0.8258 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/0.4972, allocations: 101.9 kB / 0.8259 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.4973, allocations: 107.9 kB / 0.826 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.51e-05/0.4973, allocations: 177.5 kB / 0.8261 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.4973, allocations: 186.5 kB / 0.8263 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.209e-05/0.4974, allocations: 190.1 kB / 0.8265 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.472e-05/0.4974, allocations: 178.3 kB / 0.8267 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.4976, allocations: 315.2 kB / 0.827 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.4977, allocations: 103.8 kB / 0.8271 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.4978, allocations: 187.6 kB / 0.8272 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.4979, allocations: 105.9 kB / 0.8273 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.4979, allocations: 182.4 kB / 0.8275 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.498, allocations: 103.1 kB / 0.8276 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.498, allocations: 85.88 kB / 0.8277 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.498, allocations: 0 / 0.8277 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001794/0.4982, allocations: 22.2 kB / 0.8277 GB, free: 9.738 MB / 0.6198 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.0001554/0.4983, allocations: 188.5 kB / 0.8279 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.47e-05/0.4984, allocations: 11.86 kB / 0.8279 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4984, allocations: 0 / 0.8279 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.4984, allocations: 3.938 kB / 0.8279 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.4988, allocations: 469.5 kB / 0.8284 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.4991, allocations: 206.4 kB / 0.8286 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.4991, allocations: 61.77 kB / 0.8286 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.4991, allocations: 10.42 kB / 0.8286 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.4991, allocations: 3.938 kB / 0.8286 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of Templates: time 0.002207/0.5013, allocations: 0.7297 MB / 0.8293 GB, free: 8.758 MB / 0.6198 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.818560492713004] Failed to read output from testmodel.py, exit status != 0: 0.5077108605764806 0.5197971840000001 0.02277654 Calling exit ...