Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.0009865/0.0009865, allocations: 85.95 kB / 19.87 MB, free: 4.613 MB / 18.57 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.0009945/0.0009945, allocations: 169.7 kB / 23.27 MB, free: 1.215 MB / 18.57 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.9674/0.9674, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7996/0.7996, allocations: 154.6 MB / 414.8 MB, free: 0.5391 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.5207 GB, free: 1.934 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.811e-05/4.057e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005439/0.005479, allocations: 4.136 MB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002213/0.0057, allocations: 162 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.005735, allocations: 0 / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.005862, allocations: 4 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.005954, allocations: 19.84 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.006383, allocations: 89.38 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.006481, allocations: 35.84 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.006524, allocations: 0.75 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.006587, allocations: 15.98 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.006664, allocations: 17.34 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.006676, allocations: 0 / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.006847, allocations: 59.73 kB / 0.5252 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.006892, allocations: 9.25 kB / 0.5252 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.006909, allocations: 7.984 kB / 0.5252 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.007039, allocations: 59.81 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007042, allocations: 2.125 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.007044, allocations: 0 / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.007048, allocations: 0 / 0.5252 GB, free: 13.33 MB / 0.4948 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.0003266/0.007374, allocations: 368.3 kB / 0.5256 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.007415, allocations: 8.031 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.00745, allocations: 9.234 kB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.007532, allocations: 110.4 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.00759, allocations: 55.97 kB / 0.5258 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.007597, allocations: 384 / 0.5258 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.007713, allocations: 80.66 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.00772, allocations: 0.75 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.00773, allocations: 7.938 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.007752, allocations: 0.9375 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.258e-05/0.007775, allocations: 7.984 kB / 0.5259 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.008116, allocations: 245.3 kB / 0.5261 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.281e-05/0.008149, allocations: 27 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.008164, allocations: 12.69 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.008205, allocations: 7.938 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.008231, allocations: 46.3 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.008233, allocations: 4 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001129/0.008346, allocations: 39.09 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.008373, allocations: 51.41 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.008451, allocations: 161.9 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.008463, allocations: 25.7 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.008518, allocations: 137.8 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.008523, allocations: 3.953 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.008548, allocations: 23.38 kB / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.008674, allocations: 496.1 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.008682, allocations: 3.984 kB / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.008705, allocations: 19.38 kB / 0.5271 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.008732, allocations: 26.39 kB / 0.5271 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.008734, allocations: 3.938 kB / 0.5271 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.074e-05/0.008795, allocations: 49.62 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.008807, allocations: 8 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.008812, allocations: 0 / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.008822, allocations: 0 / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.008861, allocations: 4 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.008865, allocations: 5.438 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.00888, allocations: 4 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.008888, allocations: 3.984 kB / 0.5272 GB, free: 11.1 MB / 0.4948 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 6.9e-05/0.008957, allocations: 157.1 kB / 0.5273 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.008973, allocations: 8.172 kB / 0.5274 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.009086, allocations: 170.4 kB / 0.5275 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-05/0.009162, allocations: 276 kB / 0.5278 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.681e-05/0.009229, allocations: 268.1 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.946e-05/0.009288, allocations: 268.2 kB / 0.5283 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.009462, allocations: 480.5 kB / 0.5287 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.009496, allocations: 152.9 kB / 0.5289 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.009534, allocations: 148.8 kB / 0.529 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-05/0.009599, allocations: 270.5 kB / 0.5293 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.962e-05/0.009669, allocations: 264.1 kB / 0.5295 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.88e-05/0.009738, allocations: 272 kB / 0.5298 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.355e-05/0.009801, allocations: 268.1 kB / 0.5301 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.009943, allocations: 451.9 kB / 0.5305 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.009988, allocations: 160.8 kB / 0.5306 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.01006, allocations: 265.5 kB / 0.5309 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01016, allocations: 160.8 kB / 0.5311 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.01023, allocations: 268 kB / 0.5313 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.01027, allocations: 144.9 kB / 0.5314 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.01031, allocations: 128.1 kB / 0.5316 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01031, allocations: 0 / 0.5316 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001641/0.01048, allocations: 19.94 kB / 0.5316 GB, free: 6.426 MB / 0.4948 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.0001673/0.01064, allocations: 235.5 kB / 0.5318 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.949e-05/0.0107, allocations: 17.28 kB / 0.5318 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.0107, allocations: 0 / 0.5318 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.01071, allocations: 4 kB / 0.5318 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.01104, allocations: 0.7085 MB / 0.5325 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.01141, allocations: 237.6 kB / 0.5328 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.126e-05/0.01144, allocations: 55.36 kB / 0.5328 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.01147, allocations: 6.062 kB / 0.5328 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.01153, allocations: 82.17 kB / 0.5329 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of SimCode: time 7.32e-07/0.01153, allocations: 0 / 0.5329 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of Templates: time 0.002396/0.01393, allocations: 0.7374 MB / 0.5336 GB, free: 4.336 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6195893781259656]