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.0007931/0.0007931, allocations: 96.36 kB / 19.7 MB, free: 452 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.000774/0.000774, allocations: 216.7 kB / 23 MB, free: 2.977 MB / 13.93 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 0.9499/0.9499, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] 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-531:686: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-531:694: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 0.7707/0.7707, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000943/0.000943, allocations: 70.77 kB / 0.719 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5061, allocations: 102 MB / 0.8186 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.0178/0.5239, allocations: 21.63 MB / 0.8397 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006098/0.5299, allocations: 4.756 MB / 0.8444 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004567/0.5304, allocations: 37.19 kB / 0.8444 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.5311, allocations: 284.1 kB / 0.8447 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.5325, allocations: 0.8334 MB / 0.8455 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.5338, allocations: 0.7943 MB / 0.8463 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.5352, allocations: 1.643 MB / 0.8479 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.5356, allocations: 392.3 kB / 0.8483 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.5368, allocations: 0.7547 MB / 0.849 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.5372, allocations: 448.2 kB / 0.8494 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.5372, allocations: 45.38 kB / 0.8495 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005726/0.5378, allocations: 409 kB / 0.8499 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.5379, allocations: 147.2 kB / 0.85 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.5381, allocations: 254.9 kB / 0.8502 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.539, allocations: 0.9384 MB / 0.8512 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.539, allocations: 1.219 kB / 0.8512 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.539, allocations: 4 kB / 0.8512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.539, allocations: 0 / 0.8512 GB, free: 11.46 MB / 0.6355 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.0009904/0.54, allocations: 0.8323 MB / 0.852 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5401, allocations: 9.531 kB / 0.852 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.5403, allocations: 67.56 kB / 0.852 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.541, allocations: 0.5125 MB / 0.8525 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.5411, allocations: 32.94 kB / 0.8526 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.5411, allocations: 38.81 kB / 0.8526 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.5416, allocations: 0.4979 MB / 0.8531 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5417, allocations: 1.812 kB / 0.8531 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.5417, allocations: 15.69 kB / 0.8531 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.5417, allocations: 13.53 kB / 0.8531 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.5421, allocations: 310.6 kB / 0.8534 GB, free: 9.801 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.5437, allocations: 1.437 MB / 0.8548 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.5441, allocations: 250 kB / 0.8551 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.5442, allocations: 111.8 kB / 0.8552 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.5445, allocations: 105.7 kB / 0.8553 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.5445, allocations: 41.17 kB / 0.8553 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 1.243e-06/0.5445, allocations: 0 / 0.8553 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.0005254/0.545, allocations: 371.8 kB / 0.8557 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.5451, allocations: 57.78 kB / 0.8557 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.5454, allocations: 404.3 kB / 0.8561 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.5455, allocations: 32.02 kB / 0.8561 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.5456, allocations: 273 kB / 0.8564 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.5457, allocations: 95.8 kB / 0.8565 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.5457, allocations: 78.41 kB / 0.8566 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.5458, allocations: 349.4 kB / 0.8569 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.546, allocations: 98.75 kB / 0.857 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.5462, allocations: 247.8 kB / 0.8572 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.5465, allocations: 279.6 kB / 0.8575 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5465, allocations: 0 / 0.8575 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004033/0.5469, allocations: 363 kB / 0.8578 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5469, allocations: 9.938 kB / 0.8579 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5469, allocations: 2.688 kB / 0.8579 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.547, allocations: 3.031 kB / 0.8579 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.5471, allocations: 72.67 kB / 0.8579 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5471, allocations: 8 kB / 0.8579 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.5472, allocations: 31.25 kB / 0.858 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.5473, allocations: 19.52 kB / 0.858 GB, free: 6.426 MB / 0.6355 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.0001404/0.5474, allocations: 179.1 kB / 0.8582 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.5475, allocations: 44.22 kB / 0.8582 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005643/0.548, allocations: 475.4 kB / 0.8587 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.548, allocations: 7.5 kB / 0.8587 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.548, allocations: 5.125 kB / 0.8587 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004111/0.5485, allocations: 0.5848 MB / 0.8592 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.5496, allocations: 0.9412 MB / 0.8602 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5496, allocations: 6.031 kB / 0.8602 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.5498, allocations: 54.56 kB / 0.8602 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5498, allocations: 3.625 kB / 0.8602 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.5498, allocations: 16.86 kB / 0.8602 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.5498, allocations: 6.594 kB / 0.8602 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5498, allocations: 2.438 kB / 0.8602 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.5504, allocations: 0.6695 MB / 0.8609 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.5505, allocations: 95.53 kB / 0.861 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.5505, allocations: 12.23 kB / 0.861 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.5507, allocations: 8.25 kB / 0.861 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.5507, allocations: 26.67 kB / 0.861 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.5507, allocations: 14.09 kB / 0.861 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002198/0.5509, allocations: 284.4 kB / 0.8613 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5509, allocations: 0 / 0.8613 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004213/0.5514, allocations: 209.5 kB / 0.8615 GB, free: 4.02 MB / 0.6355 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.0003584/0.5517, allocations: 275 kB / 0.8618 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.5521, allocations: 292.9 kB / 0.8621 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5521, allocations: 5.5 kB / 0.8621 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.5523, allocations: 154.3 kB / 0.8622 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.5529, allocations: 247.9 kB / 0.8624 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.5541, allocations: 1.1 MB / 0.8635 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.5543, allocations: 261.9 kB / 0.8638 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.5544, allocations: 52.53 kB / 0.8638 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.5544, allocations: 3.938 kB / 0.8638 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of Templates: time 0.009522/0.5639, allocations: 9.184 MB / 0.8728 GB, free: 13.78 MB / 0.6511 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.902639941312373] Failed to read output from testmodel.py, exit status != 0: 0.5698113441467285 0.577341275 0.036687391 Calling exit ...