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.0009217/0.0009217, allocations: 81.95 kB / 20.66 MB, free: 3.828 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.001001/0.001001, allocations: 165 kB / 24.05 MB, free: 448 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 1.042/1.042, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7818/0.7818, allocations: 154.9 MB / 415.9 MB, free: 268 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.993e-06/1.993e-06, allocations: 0 / 0.5219 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.594e-05, allocations: 3.188 kB / 0.5219 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.006894/0.00691, allocations: 8.656 MB / 0.5304 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003825/0.01073, allocations: 3.28 MB / 0.5336 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000396/0.01113, allocations: 35.69 kB / 0.5336 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.01156, allocations: 187.7 kB / 0.5338 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.01259, allocations: 0.6634 MB / 0.5344 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009334/0.01352, allocations: 0.6612 MB / 0.5351 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.01471, allocations: 1.633 MB / 0.5367 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.01512, allocations: 413 kB / 0.5371 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008568/0.01598, allocations: 0.76 MB / 0.5378 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.01636, allocations: 403.8 kB / 0.5382 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.01642, allocations: 48 kB / 0.5382 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.01679, allocations: 272.1 kB / 0.5385 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.01692, allocations: 143.4 kB / 0.5386 GB, free: 392 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.01714, allocations: 216.1 kB / 0.5388 GB, free: 176 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007914/0.01793, allocations: 0.619 MB / 0.5394 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01793, allocations: 0.6562 kB / 0.5394 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.32e-07/0.01793, allocations: 4 kB / 0.5394 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.01794, allocations: 1.531 kB / 0.5394 GB, free: 15.55 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.0009979/0.01894, allocations: 0.9102 MB / 0.5403 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.01897, allocations: 8.031 kB / 0.5403 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.01918, allocations: 104.5 kB / 0.5404 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000603/0.01979, allocations: 482.9 kB / 0.5409 GB, free: 14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.01981, allocations: 29.38 kB / 0.5409 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.01987, allocations: 40.38 kB / 0.541 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.02029, allocations: 400.4 kB / 0.5414 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.0203, allocations: 5.438 kB / 0.5414 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.02034, allocations: 16 kB / 0.5414 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.02036, allocations: 12 kB / 0.5414 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.02057, allocations: 127.4 kB / 0.5415 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.02217, allocations: 1.533 MB / 0.543 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.02245, allocations: 147.3 kB / 0.5431 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.02253, allocations: 55.64 kB / 0.5432 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.02274, allocations: 66.25 kB / 0.5433 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.02277, allocations: 41.33 kB / 0.5433 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.02277, allocations: 0 / 0.5433 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0003674/0.02314, allocations: 218.5 kB / 0.5435 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.02317, allocations: 56.47 kB / 0.5436 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.02348, allocations: 418.4 kB / 0.544 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.02351, allocations: 29.7 kB / 0.544 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.02368, allocations: 328.9 kB / 0.5443 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.02375, allocations: 99.14 kB / 0.5444 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.02385, allocations: 83.59 kB / 0.5445 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.02401, allocations: 0.5234 MB / 0.545 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.02407, allocations: 38.25 kB / 0.545 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.02422, allocations: 203.8 kB / 0.5452 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.02442, allocations: 180.8 kB / 0.5454 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02442, allocations: 0 / 0.5454 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003277/0.02475, allocations: 238.2 kB / 0.5456 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.02476, allocations: 8.5 kB / 0.5456 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.02477, allocations: 0.5 kB / 0.5456 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.02478, allocations: 5.875 kB / 0.5456 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.02498, allocations: 79.83 kB / 0.5457 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.02498, allocations: 7.984 kB / 0.5457 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.02514, allocations: 27.78 kB / 0.5457 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.02516, allocations: 17.08 kB / 0.5458 GB, free: 8.77 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.0001286/0.02529, allocations: 180.4 kB / 0.5459 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.02537, allocations: 54.91 kB / 0.546 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.02581, allocations: 297.3 kB / 0.5463 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.02582, allocations: 7.984 kB / 0.5463 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.02582, allocations: 0 / 0.5463 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00029/0.02611, allocations: 420.2 kB / 0.5467 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009831/0.02709, allocations: 0.7609 MB / 0.5474 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.0271, allocations: 4 kB / 0.5474 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.02725, allocations: 49.08 kB / 0.5475 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.02725, allocations: 4 kB / 0.5475 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.02727, allocations: 15.92 kB / 0.5475 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.02728, allocations: 5.656 kB / 0.5475 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.02728, allocations: 7.938 kB / 0.5475 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.02774, allocations: 469.1 kB / 0.5479 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.02786, allocations: 92.23 kB / 0.548 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.0279, allocations: 11.98 kB / 0.548 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.02807, allocations: 11.03 kB / 0.5481 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.0281, allocations: 27.89 kB / 0.5481 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.02813, allocations: 15.98 kB / 0.5481 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001909/0.02832, allocations: 263 kB / 0.5483 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.02832, allocations: 0 / 0.5483 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004745/0.02879, allocations: 183.5 kB / 0.5485 GB, free: 5.758 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.0002657/0.02906, allocations: 199.4 kB / 0.5487 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.02932, allocations: 173.5 kB / 0.5489 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.02932, allocations: 0 / 0.5489 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.02945, allocations: 103.3 kB / 0.549 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000881/0.03033, allocations: 259.8 kB / 0.5492 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.03166, allocations: 0.9202 MB / 0.5501 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.975e-05/0.03176, allocations: 130 kB / 0.5502 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002436/0.032, allocations: 91.92 kB / 0.5503 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004515/0.03245, allocations: 283.4 kB / 0.5506 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.03245, allocations: 0 / 0.5506 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of Templates: time 0.01567/0.04813, allocations: 10.99 MB / 0.5613 GB, free: 8.941 MB / 0.5261 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: 4.100096957292408]