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.001698/0.001698, allocations: 93.47 kB / 19.44 MB, free: 336 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.00198/0.00198, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.334/1.334, allocations: 154.8 MB / 414.3 MB, free: 448 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 178] 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.843e-06/1.843e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.23e-05, allocations: 7.078 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.03266/0.03269, allocations: 24 MB / 0.5433 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009639/0.04233, allocations: 5.21 MB / 0.5484 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007704/0.0431, allocations: 35.69 kB / 0.5484 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008619/0.04396, allocations: 287.2 kB / 0.5487 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.04618, allocations: 0.8572 MB / 0.5495 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.0483, allocations: 0.8231 MB / 0.5503 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.0506, allocations: 1.643 MB / 0.552 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.05126, allocations: 415.9 kB / 0.5523 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.0536, allocations: 0.9497 MB / 0.5533 GB, free: 68 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/0.0543, allocations: 398.8 kB / 0.5537 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-05/0.0544, allocations: 49.12 kB / 0.5537 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009815/0.05538, allocations: 414.9 kB / 0.5541 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.05559, allocations: 157 kB / 0.5542 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.05589, allocations: 215.5 kB / 0.5545 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.05744, allocations: 0.958 MB / 0.5554 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.05745, allocations: 4 kB / 0.5554 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.412e-06/0.05745, allocations: 0 / 0.5554 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.05746, allocations: 1.531 kB / 0.5554 GB, free: 13.89 MB / 0.5261 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.0016/0.05906, allocations: 0.9629 MB / 0.5563 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.05909, allocations: 8.031 kB / 0.5563 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.0594, allocations: 106 kB / 0.5564 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.06053, allocations: 0.5313 MB / 0.557 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.06057, allocations: 29.38 kB / 0.557 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.06065, allocations: 40.38 kB / 0.557 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008802/0.06153, allocations: 0.5273 MB / 0.5575 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.06155, allocations: 0.625 kB / 0.5575 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/0.0616, allocations: 20.92 kB / 0.5576 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.06162, allocations: 11.94 kB / 0.5576 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.06219, allocations: 275.8 kB / 0.5578 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.06531, allocations: 1.789 MB / 0.5596 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.06589, allocations: 235.3 kB / 0.5598 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.06609, allocations: 99.64 kB / 0.5599 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004753/0.06656, allocations: 101.4 kB / 0.56 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.0666, allocations: 37.38 kB / 0.56 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.06661, allocations: 0.8438 kB / 0.56 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.0007809/0.06739, allocations: 336 kB / 0.5604 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.06744, allocations: 55.39 kB / 0.5604 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006509/0.06809, allocations: 0.5033 MB / 0.5609 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.06813, allocations: 33.7 kB / 0.5609 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/0.06848, allocations: 332 kB / 0.5613 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.0686, allocations: 111.2 kB / 0.5614 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.06875, allocations: 89.94 kB / 0.5614 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003495/0.0691, allocations: 0.5508 MB / 0.562 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.06927, allocations: 80.61 kB / 0.5621 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.06961, allocations: 267.7 kB / 0.5623 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.0701, allocations: 277 kB / 0.5626 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0701, allocations: 0 / 0.5626 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007815/0.07088, allocations: 340.2 kB / 0.5629 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.07091, allocations: 8.781 kB / 0.5629 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.07091, allocations: 0 / 0.5629 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.07094, allocations: 7.984 kB / 0.5629 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.07124, allocations: 71.91 kB / 0.563 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.07126, allocations: 10.34 kB / 0.563 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.07149, allocations: 23.84 kB / 0.563 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.07154, allocations: 19.98 kB / 0.563 GB, free: 5.754 MB / 0.5261 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.0002708/0.07181, allocations: 224.4 kB / 0.5633 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.07194, allocations: 55.72 kB / 0.5633 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008567/0.0728, allocations: 395.8 kB / 0.5637 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.07281, allocations: 4 kB / 0.5637 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.07282, allocations: 0 / 0.5637 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006683/0.07349, allocations: 0.5001 MB / 0.5642 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.07545, allocations: 1.002 MB / 0.5652 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.07545, allocations: 7.938 kB / 0.5652 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.07569, allocations: 43.97 kB / 0.5652 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.0757, allocations: 4.938 kB / 0.5652 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.07573, allocations: 15.94 kB / 0.5652 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.07574, allocations: 8.656 kB / 0.5652 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.07575, allocations: 11.97 kB / 0.5652 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.07676, allocations: 0.617 MB / 0.5658 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.07697, allocations: 92.36 kB / 0.5659 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.07704, allocations: 11.94 kB / 0.5659 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.07728, allocations: 13.11 kB / 0.566 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.07734, allocations: 23.95 kB / 0.566 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.07738, allocations: 16.55 kB / 0.566 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006706/0.07805, allocations: 331.1 kB / 0.5663 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.07805, allocations: 1.469 kB / 0.5663 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007036/0.07875, allocations: 211.5 kB / 0.5665 GB, free: 2.008 MB / 0.5261 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0005754/0.07933, allocations: 288.4 kB / 0.5668 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005522/0.07988, allocations: 260.1 kB / 0.567 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.07988, allocations: 1.469 kB / 0.567 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.08014, allocations: 143.5 kB / 0.5672 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.08148, allocations: 264.2 kB / 0.5674 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.08328, allocations: 0.9736 MB / 0.5684 GB, free: 76 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.08385, allocations: 266.2 kB / 0.5686 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003126/0.08416, allocations: 96.23 kB / 0.5687 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.08428, allocations: 52.48 kB / 0.5688 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.08428, allocations: 0 / 0.5688 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of Templates: time 0.02221/0.1065, allocations: 10.82 MB / 0.5793 GB, free: 5.098 MB / 0.5417 GB " [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: 6.4621740450384095]