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.001494/0.001494, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001968/0.001968, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9873/0.9873, allocations: 177.1 MB / 204.5 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.8045/0.8045, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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 1.753e-06/1.753e-06, allocations: 0 / 0.5215 GB, free: 1.961 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.886e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.957 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004303/0.004332, allocations: 4.133 MB / 0.5255 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001339/0.004466, allocations: 159.4 kB / 0.5257 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.004494, allocations: 1.469 kB / 0.5257 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.004595, allocations: 7.984 kB / 0.5257 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.004666, allocations: 15.86 kB / 0.5257 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.004941, allocations: 89.55 kB / 0.5258 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.36e-05/0.005014, allocations: 35.86 kB / 0.5258 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.005052, allocations: 0.5 kB / 0.5258 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.005098, allocations: 20.84 kB / 0.5258 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.005166, allocations: 11.98 kB / 0.5259 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.005178, allocations: 5.219 kB / 0.5259 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.005321, allocations: 55.73 kB / 0.5259 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.005361, allocations: 8 kB / 0.5259 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.005376, allocations: 8.484 kB / 0.5259 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.005481, allocations: 63.8 kB / 0.526 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005483, allocations: 1.781 kB / 0.526 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.72e-07/0.005484, allocations: 0 / 0.526 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.005488, allocations: 0 / 0.526 GB, free: 13.36 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.0002859/0.005774, allocations: 360.3 kB / 0.5263 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.005804, allocations: 9.75 kB / 0.5263 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.005836, allocations: 9.219 kB / 0.5264 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.123e-05/0.005917, allocations: 116.5 kB / 0.5265 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.005968, allocations: 51.97 kB / 0.5265 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.005977, allocations: 5.906 kB / 0.5265 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.006069, allocations: 76.66 kB / 0.5266 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.006076, allocations: 192 / 0.5266 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.006085, allocations: 11.92 kB / 0.5266 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.006104, allocations: 4.75 kB / 0.5266 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.006121, allocations: 7.984 kB / 0.5266 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.006379, allocations: 237.2 kB / 0.5268 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.248e-05/0.006411, allocations: 31 kB / 0.5269 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.046e-05/0.006422, allocations: 8.812 kB / 0.5269 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.006455, allocations: 12.06 kB / 0.5269 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.006476, allocations: 40.2 kB / 0.5269 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.006477, allocations: 0 / 0.5269 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 9.686e-05/0.006573, allocations: 37.69 kB / 0.527 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.006598, allocations: 55.34 kB / 0.527 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.044e-05/0.006658, allocations: 161.9 kB / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.006669, allocations: 25.7 kB / 0.5272 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.006713, allocations: 138.8 kB / 0.5273 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-06/0.006718, allocations: 10.7 kB / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.006742, allocations: 19.38 kB / 0.5274 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.006853, allocations: 496.1 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-06/0.006861, allocations: 4 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.006878, allocations: 19.36 kB / 0.5279 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.006902, allocations: 24.16 kB / 0.5279 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006903, allocations: 0 / 0.5279 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.085e-05/0.006954, allocations: 54.62 kB / 0.5279 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.006964, allocations: 6.188 kB / 0.5279 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.006969, allocations: 0.8125 kB / 0.5279 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.006977, allocations: 4 kB / 0.5279 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.802e-05/0.007005, allocations: 5.406 kB / 0.528 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.007007, allocations: 0 / 0.528 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.007018, allocations: 0 / 0.528 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.007024, allocations: 7.938 kB / 0.528 GB, free: 11.14 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 5.805e-05/0.007082, allocations: 154 kB / 0.5281 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.007101, allocations: 19.88 kB / 0.5281 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-05/0.007188, allocations: 163.3 kB / 0.5283 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-05/0.007242, allocations: 268.5 kB / 0.5285 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.425e-05/0.007296, allocations: 264.6 kB / 0.5288 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.594e-05/0.007352, allocations: 276.1 kB / 0.5291 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.007508, allocations: 485.2 kB / 0.5295 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/0.00754, allocations: 149.2 kB / 0.5297 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.007572, allocations: 150.4 kB / 0.5298 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.634e-05/0.007628, allocations: 268.1 kB / 0.5301 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.007684, allocations: 268.1 kB / 0.5303 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.808e-05/0.007752, allocations: 272 kB / 0.5306 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.078e-05/0.007812, allocations: 266.5 kB / 0.5308 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.007938, allocations: 459.9 kB / 0.5313 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.007978, allocations: 148.9 kB / 0.5314 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.008048, allocations: 272 kB / 0.5317 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.008143, allocations: 156.8 kB / 0.5318 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.008204, allocations: 272 kB / 0.5321 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.008235, allocations: 151.5 kB / 0.5322 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.00827, allocations: 123.2 kB / 0.5323 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00827, allocations: 0 / 0.5323 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001568/0.008427, allocations: 19.94 kB / 0.5324 GB, free: 6.461 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.0001342/0.008561, allocations: 242.3 kB / 0.5326 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.761e-05/0.008619, allocations: 16.53 kB / 0.5326 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.00862, allocations: 0 / 0.5326 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.008621, allocations: 0 / 0.5326 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.008931, allocations: 0.719 MB / 0.5333 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.009236, allocations: 234.5 kB / 0.5335 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.009265, allocations: 52.27 kB / 0.5336 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.009288, allocations: 6.812 kB / 0.5336 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.009348, allocations: 86.17 kB / 0.5337 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/0.009348, allocations: 0 / 0.5337 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of Templates: time 0.002041/0.01139, allocations: 0.7245 MB / 0.5344 GB, free: 4.363 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.931916550733149]