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.000971/0.000971, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.0009539/0.0009539, allocations: 173 kB / 23.28 MB, free: 1.219 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.051/1.051, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.7888/0.7888, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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 2.725e-06/2.725e-06, allocations: 0 / 0.5208 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.416e-05, allocations: 5.859 kB / 0.5208 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01131/0.01135, allocations: 8.647 MB / 0.5292 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004687/0.01604, allocations: 3.285 MB / 0.5324 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/0.0166, allocations: 35.69 kB / 0.5325 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005084/0.01711, allocations: 182.6 kB / 0.5326 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.01825, allocations: 0.6667 MB / 0.5333 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.01929, allocations: 0.6615 MB / 0.5339 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.02061, allocations: 1.63 MB / 0.5355 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004657/0.02107, allocations: 411.5 kB / 0.5359 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009781/0.02205, allocations: 0.7688 MB / 0.5367 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.02253, allocations: 407.2 kB / 0.5371 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.02259, allocations: 45.5 kB / 0.5371 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.02299, allocations: 263.3 kB / 0.5374 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.0231, allocations: 151.4 kB / 0.5375 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.02325, allocations: 219.5 kB / 0.5377 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.02393, allocations: 0.6161 MB / 0.5383 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.02394, allocations: 0 / 0.5383 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.91e-07/0.02394, allocations: 0 / 0.5383 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.02395, allocations: 0.5938 kB / 0.5383 GB, free: 15.93 MB / 0.5105 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.000923/0.02487, allocations: 0.9053 MB / 0.5392 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.02491, allocations: 12.59 kB / 0.5392 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.02508, allocations: 109.9 kB / 0.5393 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.02555, allocations: 479.7 kB / 0.5398 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.02557, allocations: 33.36 kB / 0.5398 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.02562, allocations: 44.38 kB / 0.5398 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.026, allocations: 391.9 kB / 0.5402 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.02601, allocations: 0 / 0.5402 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.02604, allocations: 17.28 kB / 0.5402 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.02607, allocations: 15.92 kB / 0.5403 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.02622, allocations: 136.3 kB / 0.5404 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.02763, allocations: 1.519 MB / 0.5419 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.02786, allocations: 147.9 kB / 0.542 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.02792, allocations: 62.03 kB / 0.5421 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.0281, allocations: 83.8 kB / 0.5421 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.02812, allocations: 33.39 kB / 0.5422 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.02812, allocations: 4.625 kB / 0.5422 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0002817/0.02841, allocations: 226 kB / 0.5424 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.02843, allocations: 55.41 kB / 0.5425 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.02867, allocations: 410.4 kB / 0.5428 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.02869, allocations: 37.69 kB / 0.5429 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.02883, allocations: 316.5 kB / 0.5432 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.02889, allocations: 103.1 kB / 0.5433 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.02896, allocations: 79.59 kB / 0.5434 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.02911, allocations: 0.5333 MB / 0.5439 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.02916, allocations: 32.62 kB / 0.5439 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.02928, allocations: 207.8 kB / 0.5441 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.02943, allocations: 175.7 kB / 0.5443 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.02944, allocations: 4 kB / 0.5443 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002493/0.02968, allocations: 243.6 kB / 0.5445 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.0297, allocations: 6.562 kB / 0.5445 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.0297, allocations: 4 kB / 0.5445 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.02972, allocations: 9.422 kB / 0.5445 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.02986, allocations: 71.91 kB / 0.5446 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.02987, allocations: 7.938 kB / 0.5446 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.02998, allocations: 30.12 kB / 0.5446 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.03, allocations: 15.98 kB / 0.5446 GB, free: 9.145 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.0001017/0.0301, allocations: 172.5 kB / 0.5448 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.03016, allocations: 55.72 kB / 0.5449 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.03054, allocations: 295.2 kB / 0.5451 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.03055, allocations: 12 kB / 0.5452 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.03055, allocations: 1.625 kB / 0.5452 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005554/0.03111, allocations: 424.2 kB / 0.5456 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007713/0.03188, allocations: 0.7606 MB / 0.5463 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.03188, allocations: 0 / 0.5463 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.03201, allocations: 51.97 kB / 0.5464 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.03201, allocations: 7.938 kB / 0.5464 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.03203, allocations: 8.625 kB / 0.5464 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.03203, allocations: 4 kB / 0.5464 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.03203, allocations: 4.562 kB / 0.5464 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.0324, allocations: 484.8 kB / 0.5468 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.03249, allocations: 88.47 kB / 0.5469 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.03252, allocations: 8 kB / 0.5469 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.03263, allocations: 8.531 kB / 0.5469 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.03266, allocations: 33.98 kB / 0.547 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.03268, allocations: 15.98 kB / 0.547 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001391/0.03282, allocations: 263 kB / 0.5472 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.03282, allocations: 0 / 0.5472 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004007/0.03322, allocations: 183.5 kB / 0.5474 GB, free: 6.129 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.0002849/0.03351, allocations: 199.7 kB / 0.5476 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.03373, allocations: 172.7 kB / 0.5478 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03373, allocations: 0.75 kB / 0.5478 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.03383, allocations: 88.89 kB / 0.5479 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.03451, allocations: 270.5 kB / 0.5481 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.03571, allocations: 0.917 MB / 0.549 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.189e-05/0.03579, allocations: 129.8 kB / 0.5491 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.03599, allocations: 88.12 kB / 0.5492 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.03635, allocations: 288.2 kB / 0.5495 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.03635, allocations: 0 / 0.5495 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of Templates: time 0.01382/0.05017, allocations: 10.83 MB / 0.5601 GB, free: 9.465 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.078788843937218]