Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002577/0.002577, allocations: 81.5 kB / 19.44 MB, free: 348 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.003077/0.003077, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.327/1.327, allocations: 154.6 MB / 414.2 MB, free: 0.6445 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.986e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.04149/0.04152, allocations: 24 MB / 0.5431 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009766/0.05129, allocations: 5.2 MB / 0.5482 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.0523, allocations: 35.69 kB / 0.5482 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.05323, allocations: 285.9 kB / 0.5485 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.05584, allocations: 0.8582 MB / 0.5493 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.05808, allocations: 0.8218 MB / 0.5501 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002598/0.06068, allocations: 1.648 MB / 0.5517 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.06144, allocations: 412 kB / 0.5521 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.06366, allocations: 0.9519 MB / 0.553 GB, free: 344 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000721/0.06438, allocations: 407.9 kB / 0.5534 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.731e-05/0.06448, allocations: 48 kB / 0.5535 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.06556, allocations: 411.5 kB / 0.5539 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.06577, allocations: 155.4 kB / 0.554 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.06612, allocations: 224.5 kB / 0.5542 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.06784, allocations: 0.9541 MB / 0.5552 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.06785, allocations: 2.656 kB / 0.5552 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/0.06785, allocations: 0 / 0.5552 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.06786, allocations: 0 / 0.5552 GB, free: 14.16 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.001681/0.06954, allocations: 0.9662 MB / 0.5561 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.06958, allocations: 8.031 kB / 0.5561 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.06989, allocations: 105.5 kB / 0.5562 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.07102, allocations: 0.535 MB / 0.5567 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.07105, allocations: 29.38 kB / 0.5568 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.07114, allocations: 43.38 kB / 0.5568 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008568/0.07199, allocations: 0.5195 MB / 0.5573 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.07202, allocations: 3.938 kB / 0.5573 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.07206, allocations: 16 kB / 0.5573 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.07209, allocations: 8 kB / 0.5573 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.07265, allocations: 275.8 kB / 0.5576 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.07568, allocations: 1.799 MB / 0.5594 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.07625, allocations: 237.7 kB / 0.5596 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.07643, allocations: 100.6 kB / 0.5597 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/0.07692, allocations: 98.62 kB / 0.5598 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.07696, allocations: 41.33 kB / 0.5598 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.07696, allocations: 0 / 0.5598 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.0007685/0.07773, allocations: 329.2 kB / 0.5601 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.07777, allocations: 51.41 kB / 0.5602 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000651/0.07842, allocations: 0.5065 MB / 0.5607 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.07846, allocations: 34.27 kB / 0.5607 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.07877, allocations: 335.2 kB / 0.561 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.07888, allocations: 108.7 kB / 0.5611 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.07903, allocations: 87.62 kB / 0.5612 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003293/0.07936, allocations: 0.5469 MB / 0.5618 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.07959, allocations: 84.59 kB / 0.5618 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.07993, allocations: 260.4 kB / 0.5621 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.08038, allocations: 277 kB / 0.5623 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.08038, allocations: 4 kB / 0.5624 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006464/0.08102, allocations: 344.1 kB / 0.5627 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.08104, allocations: 8 kB / 0.5627 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.08105, allocations: 0 / 0.5627 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.08107, allocations: 4 kB / 0.5627 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.08136, allocations: 73 kB / 0.5628 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.08137, allocations: 7.984 kB / 0.5628 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.08162, allocations: 29.62 kB / 0.5628 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.08166, allocations: 12 kB / 0.5628 GB, free: 6.023 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.0002435/0.0819, allocations: 224.4 kB / 0.563 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.08202, allocations: 55.72 kB / 0.5631 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008376/0.08286, allocations: 408.1 kB / 0.5635 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.08287, allocations: 4.812 kB / 0.5635 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.08287, allocations: 0 / 0.5635 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000631/0.0835, allocations: 0.5032 MB / 0.564 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.08541, allocations: 1.008 MB / 0.5649 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.08541, allocations: 5.062 kB / 0.565 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.08565, allocations: 43.98 kB / 0.565 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.08566, allocations: 4.781 kB / 0.565 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.08569, allocations: 15.92 kB / 0.565 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.0857, allocations: 9.094 kB / 0.565 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.0857, allocations: 4 kB / 0.565 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.08676, allocations: 0.6173 MB / 0.5656 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.08696, allocations: 83.59 kB / 0.5657 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.08702, allocations: 11.94 kB / 0.5657 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.08726, allocations: 15.94 kB / 0.5657 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.08732, allocations: 19.97 kB / 0.5658 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.08736, allocations: 19.98 kB / 0.5658 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004083/0.08776, allocations: 335.7 kB / 0.5661 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.08776, allocations: 1.562 kB / 0.5661 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006687/0.08843, allocations: 211.5 kB / 0.5663 GB, free: 2.266 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.0005475/0.08898, allocations: 275.8 kB / 0.5666 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.08951, allocations: 262.8 kB / 0.5668 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.08951, allocations: 0 / 0.5668 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.08976, allocations: 138 kB / 0.5669 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.0911, allocations: 274 kB / 0.5672 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.09285, allocations: 0.972 MB / 0.5682 GB, free: 344 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.09315, allocations: 262.2 kB / 0.5684 GB, free: 60 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003314/0.09348, allocations: 100.3 kB / 0.5685 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.0936, allocations: 48.48 kB / 0.5685 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of SimCode: time 5.61e-07/0.0936, allocations: 0 / 0.5685 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of Templates: time 0.02136/0.115, allocations: 10.8 MB / 0.5791 GB, free: 5.383 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.483404978062026]