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.001011/0.001011, allocations: 92.22 kB / 19.65 MB, free: 276 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.001741/0.001741, allocations: 169 kB / 23.02 MB, free: 1.551 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.1/1.1, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8234/0.8234, allocations: 154.8 MB / 414.7 MB, free: 0.5039 MB / 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.503e-06/1.503e-06, allocations: 0 / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.665e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.008781/0.008808, allocations: 8.75 MB / 0.5291 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004808/0.01362, allocations: 3.305 MB / 0.5323 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007262/0.01434, allocations: 39.62 kB / 0.5324 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005853/0.01493, allocations: 176.2 kB / 0.5326 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.01638, allocations: 0.6658 MB / 0.5332 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.01807, allocations: 0.6584 MB / 0.5338 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001763/0.01983, allocations: 1.629 MB / 0.5354 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006362/0.02047, allocations: 414.1 kB / 0.5358 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.02172, allocations: 0.7346 MB / 0.5366 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.0223, allocations: 402.7 kB / 0.5369 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.02238, allocations: 48 kB / 0.537 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006465/0.02303, allocations: 275.3 kB / 0.5372 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.02318, allocations: 151.4 kB / 0.5374 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.02345, allocations: 218.5 kB / 0.5376 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.02466, allocations: 0.6346 MB / 0.5382 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.02466, allocations: 0 / 0.5382 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.196e-06/0.02467, allocations: 0 / 0.5382 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.02468, allocations: 0 / 0.5382 GB, free: 15.89 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.001214/0.02589, allocations: 0.9115 MB / 0.5391 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.02594, allocations: 8.031 kB / 0.5391 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.02616, allocations: 108.4 kB / 0.5392 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/0.02692, allocations: 0.5302 MB / 0.5397 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.02696, allocations: 29.38 kB / 0.5398 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.02702, allocations: 40.91 kB / 0.5398 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.02751, allocations: 424.4 kB / 0.5402 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.02752, allocations: 0 / 0.5402 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.02755, allocations: 17.34 kB / 0.5402 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/0.02759, allocations: 8 kB / 0.5402 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.02786, allocations: 162.5 kB / 0.5404 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.02968, allocations: 1.598 MB / 0.5419 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.03003, allocations: 176.8 kB / 0.5421 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.03012, allocations: 68.19 kB / 0.5422 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.03034, allocations: 65.62 kB / 0.5422 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.03038, allocations: 41.38 kB / 0.5423 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 2.715e-06/0.03038, allocations: 0 / 0.5423 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0004282/0.03081, allocations: 249.5 kB / 0.5425 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.03084, allocations: 55.34 kB / 0.5426 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.03115, allocations: 418.7 kB / 0.543 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.03117, allocations: 35.23 kB / 0.543 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.03133, allocations: 323.1 kB / 0.5433 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.03139, allocations: 95.28 kB / 0.5434 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.03147, allocations: 79.62 kB / 0.5435 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002698/0.03174, allocations: 0.5294 MB / 0.544 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.03182, allocations: 40.62 kB / 0.544 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.03197, allocations: 215.9 kB / 0.5442 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.03217, allocations: 195.9 kB / 0.5444 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.03217, allocations: 0 / 0.5444 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003291/0.0325, allocations: 267.3 kB / 0.5447 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.03252, allocations: 9.844 kB / 0.5447 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.03253, allocations: 0 / 0.5447 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.03255, allocations: 4 kB / 0.5447 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.03272, allocations: 71.91 kB / 0.5448 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.03273, allocations: 13.53 kB / 0.5448 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.03286, allocations: 27.78 kB / 0.5448 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.03289, allocations: 16 kB / 0.5448 GB, free: 8.816 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.0001249/0.03301, allocations: 173.5 kB / 0.545 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.03308, allocations: 55.72 kB / 0.545 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.03355, allocations: 327.2 kB / 0.5454 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.03356, allocations: 4 kB / 0.5454 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.03356, allocations: 0 / 0.5454 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003008/0.03386, allocations: 448.7 kB / 0.5458 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.03488, allocations: 0.8417 MB / 0.5466 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.03489, allocations: 4 kB / 0.5466 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.03503, allocations: 52.67 kB / 0.5467 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.03503, allocations: 6.344 kB / 0.5467 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.03506, allocations: 15.92 kB / 0.5467 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.03506, allocations: 4 kB / 0.5467 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.03506, allocations: 4 kB / 0.5467 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.03581, allocations: 0.4933 MB / 0.5472 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.03592, allocations: 92.11 kB / 0.5473 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.03596, allocations: 11.94 kB / 0.5473 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.03609, allocations: 10.16 kB / 0.5473 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.03612, allocations: 27.89 kB / 0.5473 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.03614, allocations: 15.98 kB / 0.5473 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001981/0.03634, allocations: 279.1 kB / 0.5476 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03634, allocations: 0 / 0.5476 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004364/0.03678, allocations: 185.3 kB / 0.5478 GB, free: 5.617 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.0003194/0.0371, allocations: 199.6 kB / 0.548 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.03739, allocations: 188.4 kB / 0.5481 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.03739, allocations: 0 / 0.5481 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.03751, allocations: 110.9 kB / 0.5482 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.03822, allocations: 269.6 kB / 0.5485 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.03959, allocations: 0.9215 MB / 0.5494 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.188e-05/0.03967, allocations: 126 kB / 0.5495 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002138/0.03988, allocations: 105.6 kB / 0.5496 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.03996, allocations: 52.48 kB / 0.5497 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.03997, allocations: 0 / 0.5497 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of Templates: time 0.01292/0.05288, allocations: 9.623 MB / 0.5591 GB, free: 10.32 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.3363749836571515]