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.0009529/0.0009529, 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.001852/0.001852, allocations: 177.3 kB / 23.5 MB, free: 1.047 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 0.9655/0.9655, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.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-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 0.8332/0.8332, allocations: 154.6 MB / 414.9 MB, free: 0.6602 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 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: Performance of FrontEnd - loaded program: time 4.028e-06/4.028e-06, allocations: 4 kB / 0.5204 GB, free: 2.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/3.157e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01848/0.01851, allocations: 24.1 MB / 0.5439 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006721/0.02523, allocations: 5.207 MB / 0.549 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008881/0.02612, allocations: 39.69 kB / 0.549 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008826/0.027, allocations: 282.5 kB / 0.5493 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.02894, allocations: 0.8622 MB / 0.5501 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.03061, allocations: 0.8182 MB / 0.5509 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.03257, allocations: 1.653 MB / 0.5525 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.03306, allocations: 405.5 kB / 0.5529 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.03443, allocations: 0.9549 MB / 0.5539 GB, free: 212 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.03489, allocations: 395.5 kB / 0.5542 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.03495, allocations: 48.5 kB / 0.5543 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000778/0.03573, allocations: 423.9 kB / 0.5547 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.03586, allocations: 155.4 kB / 0.5548 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.03604, allocations: 219.4 kB / 0.555 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.03706, allocations: 0.7292 MB / 0.5558 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.03706, allocations: 0 / 0.5558 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/0.03706, allocations: 0 / 0.5558 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.03707, allocations: 5.625 kB / 0.5558 GB, free: 14.26 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.00101/0.03808, allocations: 0.9201 MB / 0.5567 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.03813, allocations: 8.031 kB / 0.5567 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.03838, allocations: 111.5 kB / 0.5568 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.03914, allocations: 0.5418 MB / 0.5573 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.03916, allocations: 29.38 kB / 0.5573 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.03921, allocations: 44.38 kB / 0.5574 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.03966, allocations: 429.1 kB / 0.5578 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.03968, allocations: 0 / 0.5578 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.03971, allocations: 16 kB / 0.5578 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.03974, allocations: 13.12 kB / 0.5578 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.04, allocations: 157.8 kB / 0.558 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.04163, allocations: 1.594 MB / 0.5595 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.04196, allocations: 160.6 kB / 0.5597 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.04205, allocations: 63.66 kB / 0.5597 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/0.04235, allocations: 102 kB / 0.5598 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.04238, allocations: 37.39 kB / 0.5599 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/0.04238, allocations: 0 / 0.5599 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.0004235/0.04281, allocations: 241.2 kB / 0.5601 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.04284, allocations: 60.36 kB / 0.5602 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.04315, allocations: 418.6 kB / 0.5605 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.04318, allocations: 33.7 kB / 0.5606 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.04332, allocations: 322 kB / 0.5609 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.04338, allocations: 103.2 kB / 0.561 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.04345, allocations: 75.62 kB / 0.5611 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.04365, allocations: 0.5274 MB / 0.5616 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.04373, allocations: 44.62 kB / 0.5616 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.04387, allocations: 215.9 kB / 0.5618 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.04408, allocations: 187.3 kB / 0.562 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.04408, allocations: 0.5938 kB / 0.562 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003209/0.0444, allocations: 272.3 kB / 0.5623 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.04442, allocations: 11.94 kB / 0.5623 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.04442, allocations: 4.484 kB / 0.5623 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.04444, allocations: 5.062 kB / 0.5623 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.0446, allocations: 67.91 kB / 0.5623 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.04461, allocations: 6.531 kB / 0.5624 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.04473, allocations: 35.77 kB / 0.5624 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.04475, allocations: 16 kB / 0.5624 GB, free: 7.137 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.0001123/0.04486, allocations: 180.4 kB / 0.5626 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.04493, allocations: 51.72 kB / 0.5626 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.04538, allocations: 344.8 kB / 0.563 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.04539, allocations: 4 kB / 0.563 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.04539, allocations: 0 / 0.563 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002967/0.04569, allocations: 454.7 kB / 0.5634 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.04661, allocations: 0.8534 MB / 0.5642 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.04661, allocations: 0 / 0.5642 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.04674, allocations: 56.94 kB / 0.5643 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.04674, allocations: 4 kB / 0.5643 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.04677, allocations: 12.66 kB / 0.5643 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.04677, allocations: 4 kB / 0.5643 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.04677, allocations: 1.344 kB / 0.5643 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.04725, allocations: 0.521 MB / 0.5648 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.04748, allocations: 87.59 kB / 0.5649 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.04752, allocations: 12.81 kB / 0.5649 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.04765, allocations: 11.94 kB / 0.5649 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.04768, allocations: 29.58 kB / 0.5649 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.04771, allocations: 19.97 kB / 0.565 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000189/0.0479, allocations: 283.1 kB / 0.5652 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.0479, allocations: 0 / 0.5652 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004706/0.04837, allocations: 211.9 kB / 0.5654 GB, free: 3.848 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.0003939/0.04876, allocations: 278 kB / 0.5657 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.04905, allocations: 183.5 kB / 0.5659 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.04905, allocations: 2.438 kB / 0.5659 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.04918, allocations: 108.8 kB / 0.566 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007147/0.04989, allocations: 271.1 kB / 0.5662 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.05127, allocations: 0.9331 MB / 0.5671 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.557e-05/0.05135, allocations: 129.8 kB / 0.5673 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.05158, allocations: 104.2 kB / 0.5674 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.05166, allocations: 48.48 kB / 0.5674 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/0.05166, allocations: 0 / 0.5674 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of Templates: time 0.01317/0.06483, allocations: 10.82 MB / 0.578 GB, free: 7.223 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: 4.026646589161828]