Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008679/0.0008679, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009012/0.0009012, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9592/0.9592, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.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-535:34: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-535:42: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.7616/0.7616, allocations: 154.9 MB / 414.8 MB, free: 420 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5207 GB, free: 0.668 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.007e-05, allocations: 2.312 kB / 0.5207 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.007616/0.007636, allocations: 8.752 MB / 0.5292 GB, free: 7.906 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.012, allocations: 3.31 MB / 0.5325 GB, free: 4.609 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.01247, allocations: 35.69 kB / 0.5325 GB, free: 4.574 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.01296, allocations: 183.2 kB / 0.5327 GB, free: 4.395 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.01407, allocations: 0.6661 MB / 0.5333 GB, free: 3.73 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.01512, allocations: 0.6713 MB / 0.534 GB, free: 3.062 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.0166, allocations: 1.621 MB / 0.5356 GB, free: 1.438 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005632/0.01716, allocations: 409.5 kB / 0.536 GB, free: 1.031 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.01825, allocations: 0.7674 MB / 0.5367 GB, free: 280 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.01873, allocations: 410.8 kB / 0.5371 GB, free: 15.87 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.0188, allocations: 44 kB / 0.5372 GB, free: 15.82 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.0192, allocations: 260.2 kB / 0.5374 GB, free: 15.57 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.01931, allocations: 151.4 kB / 0.5375 GB, free: 15.42 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.01949, allocations: 220.1 kB / 0.5378 GB, free: 15.21 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006899/0.02018, allocations: 0.6196 MB / 0.5384 GB, free: 14.59 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.02018, allocations: 0 / 0.5384 GB, free: 14.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02018, allocations: 0.5 kB / 0.5384 GB, free: 14.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.02019, allocations: 0 / 0.5384 GB, free: 14.59 MB / 474.7 MB 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.0009001/0.02109, allocations: 0.9056 MB / 0.5392 GB, free: 13.65 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.02112, allocations: 13.16 kB / 0.5393 GB, free: 13.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.02132, allocations: 104.5 kB / 0.5394 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.02183, allocations: 487.9 kB / 0.5398 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.02186, allocations: 29.38 kB / 0.5398 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.02191, allocations: 44.33 kB / 0.5399 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.02232, allocations: 418 kB / 0.5403 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.02233, allocations: 0 / 0.5403 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.02236, allocations: 16 kB / 0.5403 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.02239, allocations: 15.98 kB / 0.5403 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.02262, allocations: 157.8 kB / 0.5405 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.02408, allocations: 1.602 MB / 0.542 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.02438, allocations: 170.1 kB / 0.5422 GB, free: 10.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.02446, allocations: 64.16 kB / 0.5423 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.02464, allocations: 69.86 kB / 0.5423 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.02467, allocations: 41.39 kB / 0.5424 GB, free: 10.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.02467, allocations: 0 / 0.5424 GB, free: 10.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003727/0.02505, allocations: 242.4 kB / 0.5426 GB, free: 10.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.02507, allocations: 55.41 kB / 0.5426 GB, free: 10 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.02536, allocations: 422.7 kB / 0.5431 GB, free: 9.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.02538, allocations: 30.2 kB / 0.5431 GB, free: 9.543 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.02552, allocations: 323.9 kB / 0.5434 GB, free: 9.223 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.02558, allocations: 99.17 kB / 0.5435 GB, free: 9.125 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.02565, allocations: 84.84 kB / 0.5436 GB, free: 9.035 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.02578, allocations: 0.5273 MB / 0.5441 GB, free: 8.496 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.02586, allocations: 44.62 kB / 0.5441 GB, free: 8.453 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.02599, allocations: 208.5 kB / 0.5443 GB, free: 8.199 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.02619, allocations: 195.4 kB / 0.5445 GB, free: 7.977 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0262, allocations: 0.875 kB / 0.5445 GB, free: 7.977 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003152/0.02651, allocations: 264.2 kB / 0.5448 GB, free: 7.715 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.02653, allocations: 4 kB / 0.5448 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.02653, allocations: 4 kB / 0.5448 GB, free: 7.707 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.02655, allocations: 2.625 kB / 0.5448 GB, free: 7.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.02671, allocations: 79.89 kB / 0.5448 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.02672, allocations: 0 / 0.5448 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.02684, allocations: 31.73 kB / 0.5449 GB, free: 7.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.02686, allocations: 19.98 kB / 0.5449 GB, free: 7.578 MB / 474.7 MB 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.0001214/0.02698, allocations: 181.5 kB / 0.5451 GB, free: 7.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.02704, allocations: 51.72 kB / 0.5451 GB, free: 7.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004316/0.02747, allocations: 319.2 kB / 0.5454 GB, free: 7.023 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.02748, allocations: 7.984 kB / 0.5454 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.02749, allocations: 0 / 0.5454 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003015/0.02779, allocations: 442.6 kB / 0.5459 GB, free: 6.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009045/0.02869, allocations: 0.8485 MB / 0.5467 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.0287, allocations: 0.5 kB / 0.5467 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.02882, allocations: 56.78 kB / 0.5467 GB, free: 5.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.02883, allocations: 4 kB / 0.5467 GB, free: 5.547 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.02885, allocations: 12.59 kB / 0.5468 GB, free: 5.535 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.02885, allocations: 7.984 kB / 0.5468 GB, free: 5.527 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.02885, allocations: 5.406 kB / 0.5468 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.02928, allocations: 0.4933 MB / 0.5472 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-05/0.02937, allocations: 85.94 kB / 0.5473 GB, free: 4.906 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.02941, allocations: 11.94 kB / 0.5473 GB, free: 4.895 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.02952, allocations: 15.92 kB / 0.5474 GB, free: 4.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.02955, allocations: 27.91 kB / 0.5474 GB, free: 4.852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.02958, allocations: 15.98 kB / 0.5474 GB, free: 4.836 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.02976, allocations: 279.1 kB / 0.5477 GB, free: 4.562 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.02976, allocations: 0.625 kB / 0.5477 GB, free: 4.562 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.0301, allocations: 183.5 kB / 0.5478 GB, free: 4.383 MB / 474.7 MB 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.0002578/0.03036, allocations: 203.8 kB / 0.548 GB, free: 4.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.03062, allocations: 197.8 kB / 0.5482 GB, free: 3.984 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.03063, allocations: 4 kB / 0.5482 GB, free: 3.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.03074, allocations: 105.7 kB / 0.5483 GB, free: 3.875 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.03139, allocations: 264.4 kB / 0.5486 GB, free: 3.641 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.0326, allocations: 0.9188 MB / 0.5495 GB, free: 2.715 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.982e-05/0.03268, allocations: 133.8 kB / 0.5496 GB, free: 2.566 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.03289, allocations: 100.9 kB / 0.5497 GB, free: 2.477 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.03297, allocations: 52.47 kB / 0.5497 GB, free: 2.422 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03297, allocations: 0 / 0.5497 GB, free: 2.422 MB / 474.7 MB Notification: Performance of Templates: time 0.01278/0.04575, allocations: 10.94 MB / 0.5604 GB, free: 7.781 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7897243797779083]