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.001221/0.001221, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001269/0.001269, allocations: 173 kB / 23.49 MB, free: 1.059 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.771/0.771, allocations: 154.8 MB / 415.1 MB, free: 496 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.964e-06/1.964e-06, allocations: 0 / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.48e-05, allocations: 4.281 kB / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01975/0.01978, allocations: 24.09 MB / 0.5441 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006788/0.02657, allocations: 5.213 MB / 0.5492 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009018/0.02747, allocations: 36.25 kB / 0.5492 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007984/0.02827, allocations: 291.4 kB / 0.5495 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.03011, allocations: 0.8571 MB / 0.5504 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.03171, allocations: 0.8138 MB / 0.5511 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.03376, allocations: 1.653 MB / 0.5528 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007446/0.0345, allocations: 406.8 kB / 0.5532 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.03631, allocations: 0.96 MB / 0.5541 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.03694, allocations: 395.7 kB / 0.5545 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.03701, allocations: 44 kB / 0.5545 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009794/0.03799, allocations: 423.7 kB / 0.5549 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.03814, allocations: 163.3 kB / 0.5551 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.03838, allocations: 208.9 kB / 0.5553 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.03968, allocations: 0.732 MB / 0.556 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.03968, allocations: 0 / 0.556 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.312e-06/0.03968, allocations: 0 / 0.556 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.0397, allocations: 2.344 kB / 0.556 GB, free: 14.03 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.001199/0.04089, allocations: 0.9271 MB / 0.5569 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.04093, allocations: 12.03 kB / 0.5569 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.04119, allocations: 105.1 kB / 0.557 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007958/0.04198, allocations: 0.5398 MB / 0.5575 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.04201, allocations: 30.16 kB / 0.5576 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.04206, allocations: 44.38 kB / 0.5576 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.04252, allocations: 425.3 kB / 0.558 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.04253, allocations: 0 / 0.558 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.04256, allocations: 19.94 kB / 0.558 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.04259, allocations: 8 kB / 0.558 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.04285, allocations: 158.4 kB / 0.5582 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.04451, allocations: 1.59 MB / 0.5597 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.04486, allocations: 167.8 kB / 0.5599 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.04495, allocations: 67.64 kB / 0.56 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.0452, allocations: 94.88 kB / 0.5601 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.04523, allocations: 41.39 kB / 0.5601 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/0.04523, allocations: 3.938 kB / 0.5601 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.0004194/0.04565, allocations: 238.5 kB / 0.5603 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.04568, allocations: 56 kB / 0.5604 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.046, allocations: 426.6 kB / 0.5608 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.04602, allocations: 30.33 kB / 0.5608 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.04619, allocations: 319.7 kB / 0.5611 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.04625, allocations: 103.2 kB / 0.5612 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.04633, allocations: 76.66 kB / 0.5613 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.04647, allocations: 0.5274 MB / 0.5618 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/0.04655, allocations: 42.03 kB / 0.5618 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.04671, allocations: 223.8 kB / 0.5621 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.04692, allocations: 183.7 kB / 0.5622 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.04692, allocations: 0 / 0.5622 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003349/0.04726, allocations: 273 kB / 0.5625 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.04727, allocations: 6.031 kB / 0.5625 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.04728, allocations: 4 kB / 0.5625 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.0473, allocations: 4 kB / 0.5625 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.04747, allocations: 72.88 kB / 0.5626 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.04748, allocations: 11.92 kB / 0.5626 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.04761, allocations: 32.56 kB / 0.5626 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.04763, allocations: 12 kB / 0.5626 GB, free: 6.906 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.0001188/0.04775, allocations: 177.2 kB / 0.5628 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.04782, allocations: 59.7 kB / 0.5629 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.04828, allocations: 339 kB / 0.5632 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.04829, allocations: 4.969 kB / 0.5632 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.0483, allocations: 0 / 0.5632 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003226/0.04862, allocations: 456.1 kB / 0.5636 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009605/0.04958, allocations: 0.8556 MB / 0.5645 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.04959, allocations: 4 kB / 0.5645 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.04972, allocations: 51.97 kB / 0.5645 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.04972, allocations: 0 / 0.5645 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.04975, allocations: 15.94 kB / 0.5645 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.04975, allocations: 7.922 kB / 0.5645 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.04975, allocations: 4.594 kB / 0.5645 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.05025, allocations: 0.513 MB / 0.565 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.05036, allocations: 87.59 kB / 0.5651 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.05039, allocations: 11.94 kB / 0.5651 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.05053, allocations: 19.88 kB / 0.5651 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.05056, allocations: 19.97 kB / 0.5652 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.05058, allocations: 15.98 kB / 0.5652 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001916/0.05077, allocations: 280.4 kB / 0.5654 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.05077, allocations: 0 / 0.5654 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000495/0.05127, allocations: 215.4 kB / 0.5657 GB, free: 3.625 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.0004126/0.05168, allocations: 280.8 kB / 0.5659 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.05199, allocations: 202.3 kB / 0.5661 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.05199, allocations: 0 / 0.5661 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.05212, allocations: 110.1 kB / 0.5662 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/0.05299, allocations: 258.2 kB / 0.5665 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.05486, allocations: 0.9356 MB / 0.5674 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.05497, allocations: 133.8 kB / 0.5675 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00032/0.05529, allocations: 100.2 kB / 0.5676 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-05/0.05537, allocations: 56.42 kB / 0.5677 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.542e-06/0.05538, allocations: 0 / 0.5677 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.01346/0.06884, allocations: 10.82 MB / 0.5782 GB, free: 6.969 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: 4.1412128389347345]