Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.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.0009564/0.0009564, allocations: 93.16 kB / 19.65 MB, free: 292 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.001626/0.001626, allocations: 168.9 kB / 23.02 MB, free: 1.562 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.816/0.816, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.497e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.008025/0.00805, allocations: 8.747 MB / 0.5289 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004139/0.01219, allocations: 3.312 MB / 0.5321 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003756/0.01256, allocations: 35.69 kB / 0.5321 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.01308, allocations: 176.5 kB / 0.5323 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.01414, allocations: 0.6657 MB / 0.533 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.01507, allocations: 0.6697 MB / 0.5336 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.01634, allocations: 1.629 MB / 0.5352 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.01677, allocations: 414.1 kB / 0.5356 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009327/0.01771, allocations: 0.7363 MB / 0.5363 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.01811, allocations: 402.8 kB / 0.5367 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/0.01817, allocations: 48 kB / 0.5368 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.01853, allocations: 271.4 kB / 0.537 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.01866, allocations: 155 kB / 0.5372 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.01883, allocations: 223.4 kB / 0.5374 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.01955, allocations: 0.6268 MB / 0.538 GB, free: 128 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01955, allocations: 0 / 0.538 GB, free: 128 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01956, allocations: 0 / 0.538 GB, free: 128 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.01956, allocations: 0 / 0.538 GB, free: 128 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009594/0.02052, allocations: 0.9083 MB / 0.5389 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.02056, allocations: 10.84 kB / 0.5389 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.02077, allocations: 112.4 kB / 0.539 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.0215, allocations: 0.5304 MB / 0.5395 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.02152, allocations: 29.38 kB / 0.5395 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.02158, allocations: 40.88 kB / 0.5396 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.02204, allocations: 420.9 kB / 0.54 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.02205, allocations: 0 / 0.54 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.02208, allocations: 16 kB / 0.54 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.02211, allocations: 12.91 kB / 0.54 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.02236, allocations: 162.8 kB / 0.5402 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.02396, allocations: 1.597 MB / 0.5417 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.02432, allocations: 163.9 kB / 0.5419 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-05/0.02442, allocations: 66.47 kB / 0.5419 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.02464, allocations: 71.86 kB / 0.542 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.02467, allocations: 37.39 kB / 0.542 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.02467, allocations: 0 / 0.542 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0004198/0.02509, allocations: 246.2 kB / 0.5423 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.02512, allocations: 55.39 kB / 0.5423 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.02545, allocations: 418.7 kB / 0.5427 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.02548, allocations: 34.95 kB / 0.5428 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.02565, allocations: 323.1 kB / 0.5431 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.02571, allocations: 95.28 kB / 0.5432 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.02579, allocations: 82 kB / 0.5432 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.02596, allocations: 0.5274 MB / 0.5438 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.02604, allocations: 40.62 kB / 0.5438 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.0262, allocations: 219.8 kB / 0.544 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.02644, allocations: 191.5 kB / 0.5442 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.02644, allocations: 0 / 0.5442 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003401/0.02678, allocations: 268.8 kB / 0.5444 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.0268, allocations: 8 kB / 0.5445 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.0268, allocations: 0 / 0.5445 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.02682, allocations: 4 kB / 0.5445 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.02699, allocations: 72.59 kB / 0.5445 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.027, allocations: 9.719 kB / 0.5445 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.02711, allocations: 31.77 kB / 0.5446 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.02714, allocations: 16 kB / 0.5446 GB, free: 9.051 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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 0.0001213/0.02726, allocations: 173 kB / 0.5447 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.02732, allocations: 55.72 kB / 0.5448 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.02778, allocations: 327.8 kB / 0.5451 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.02779, allocations: 5.438 kB / 0.5451 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.02779, allocations: 0 / 0.5451 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003129/0.02811, allocations: 452.2 kB / 0.5455 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.02915, allocations: 0.841 MB / 0.5464 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.02916, allocations: 5.406 kB / 0.5464 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.02931, allocations: 51.91 kB / 0.5464 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.02931, allocations: 4 kB / 0.5464 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.02933, allocations: 16.38 kB / 0.5464 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.02934, allocations: 9.453 kB / 0.5464 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.02934, allocations: 0 / 0.5464 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.02981, allocations: 0.5004 MB / 0.5469 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.02991, allocations: 88.03 kB / 0.547 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.02995, allocations: 16.7 kB / 0.547 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.03007, allocations: 8 kB / 0.547 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.03011, allocations: 31.39 kB / 0.5471 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.03013, allocations: 12 kB / 0.5471 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001926/0.03032, allocations: 283 kB / 0.5474 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.03032, allocations: 0 / 0.5474 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003442/0.03066, allocations: 175.6 kB / 0.5475 GB, free: 5.852 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002876/0.03095, allocations: 209.1 kB / 0.5477 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.03122, allocations: 188.4 kB / 0.5479 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.03123, allocations: 0.625 kB / 0.5479 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.03135, allocations: 105.9 kB / 0.548 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.03205, allocations: 261.1 kB / 0.5483 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.03336, allocations: 0.9219 MB / 0.5492 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/0.03345, allocations: 130.3 kB / 0.5493 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.03363, allocations: 105.1 kB / 0.5494 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.03371, allocations: 56.42 kB / 0.5494 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/0.03371, allocations: 0 / 0.5494 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of Templates: time 0.01226/0.04598, allocations: 9.612 MB / 0.5588 GB, free: 10.56 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.16445649927482]