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.001048/0.001048, allocations: 76.45 kB / 19.9 MB, free: 12 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.001181/0.001181, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9241/0.9241, allocations: 177.2 MB / 203.6 MB, free: 5.754 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-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.7552/0.7552, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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: 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.0009947/0.0009947, allocations: 70.25 kB / 0.6196 GB, free: 13.1 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5161, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01796/0.534, allocations: 21.53 MB / 0.7402 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00682/0.5409, allocations: 4.758 MB / 0.7448 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.542, allocations: 40.44 kB / 0.7448 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008755/0.5429, allocations: 284.8 kB / 0.7451 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.5451, allocations: 0.8401 MB / 0.7459 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.547, allocations: 0.8232 MB / 0.7467 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002397/0.5494, allocations: 1.61 MB / 0.7483 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.5501, allocations: 387 kB / 0.7487 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.5522, allocations: 0.9538 MB / 0.7496 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.5529, allocations: 437.4 kB / 0.75 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.553, allocations: 50.09 kB / 0.7501 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.5541, allocations: 419.3 kB / 0.7505 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.5542, allocations: 146.2 kB / 0.7506 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.5545, allocations: 255.2 kB / 0.7509 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.5558, allocations: 0.9329 MB / 0.7518 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5558, allocations: 0 / 0.7518 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5558, allocations: 5.094 kB / 0.7518 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.5559, allocations: 0 / 0.7518 GB, free: 2.586 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.001084/0.5569, allocations: 0.8354 MB / 0.7526 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.557, allocations: 10.34 kB / 0.7526 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.5572, allocations: 67.55 kB / 0.7527 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/0.5581, allocations: 0.5148 MB / 0.7532 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.5582, allocations: 33.75 kB / 0.7532 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.5582, allocations: 42.56 kB / 0.7532 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.5588, allocations: 0.4993 MB / 0.7537 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.5588, allocations: 0 / 0.7537 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.5588, allocations: 15.97 kB / 0.7537 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.5589, allocations: 15.17 kB / 0.7538 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.5593, allocations: 301.6 kB / 0.754 GB, free: 1.188 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.002083/0.5613, allocations: 1.455 MB / 0.7555 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.5619, allocations: 240.9 kB / 0.7557 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.562, allocations: 116.9 kB / 0.7558 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.5624, allocations: 101.8 kB / 0.7559 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5624, allocations: 32.81 kB / 0.7559 GB, free: 44 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 2.655e-06/0.5624, allocations: 1.188 kB / 0.7559 GB, free: 44 kB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.0007428/0.5632, allocations: 366.9 kB / 0.7563 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.5632, allocations: 62.84 kB / 0.7563 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.5638, allocations: 412.8 kB / 0.7567 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.5639, allocations: 31.39 kB / 0.7568 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.5641, allocations: 271.9 kB / 0.757 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.674e-05/0.5642, allocations: 98.91 kB / 0.7571 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.5643, allocations: 74.23 kB / 0.7572 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5644, allocations: 350.8 kB / 0.7575 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.5646, allocations: 96.98 kB / 0.7576 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.5649, allocations: 248.8 kB / 0.7579 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.5653, allocations: 282.4 kB / 0.7581 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5653, allocations: 1.375 kB / 0.7581 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004999/0.5658, allocations: 358.2 kB / 0.7585 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5658, allocations: 10.58 kB / 0.7585 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5658, allocations: 2.219 kB / 0.7585 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5658, allocations: 3.531 kB / 0.7585 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.566, allocations: 73.81 kB / 0.7586 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.566, allocations: 8.797 kB / 0.7586 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.5662, allocations: 28.28 kB / 0.7586 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.5663, allocations: 18.48 kB / 0.7586 GB, free: 14.32 MB / 0.6511 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.0001996/0.5665, allocations: 178.7 kB / 0.7588 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.5665, allocations: 46.28 kB / 0.7588 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/0.5673, allocations: 485.3 kB / 0.7593 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.5673, allocations: 4.906 kB / 0.7593 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5673, allocations: 3.938 kB / 0.7593 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005117/0.5678, allocations: 0.5774 MB / 0.7599 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.5694, allocations: 0.9515 MB / 0.7608 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5694, allocations: 6.312 kB / 0.7608 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.5695, allocations: 50.12 kB / 0.7608 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.5695, allocations: 3.062 kB / 0.7608 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.5696, allocations: 14.5 kB / 0.7609 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5696, allocations: 3.156 kB / 0.7609 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.5696, allocations: 3.578 kB / 0.7609 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.5703, allocations: 0.6625 MB / 0.7615 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.5705, allocations: 91.48 kB / 0.7616 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.5706, allocations: 15.84 kB / 0.7616 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.5708, allocations: 12.17 kB / 0.7616 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.5709, allocations: 19.92 kB / 0.7616 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.5709, allocations: 18.86 kB / 0.7617 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003779/0.5713, allocations: 282.5 kB / 0.7619 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.5713, allocations: 0 / 0.7619 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009521/0.5723, allocations: 208.2 kB / 0.7621 GB, free: 12.3 MB / 0.6511 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.0005767/0.5728, allocations: 281 kB / 0.7624 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.5733, allocations: 296.3 kB / 0.7627 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5734, allocations: 5.562 kB / 0.7627 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.5735, allocations: 149.9 kB / 0.7628 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009/0.5744, allocations: 257.6 kB / 0.7631 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.5762, allocations: 1.063 MB / 0.7641 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.5765, allocations: 265.1 kB / 0.7644 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004134/0.5769, allocations: 108.8 kB / 0.7645 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.577, allocations: 54.02 kB / 0.7645 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/0.577, allocations: 5 kB / 0.7645 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.0162/0.5932, allocations: 10.77 MB / 0.775 GB, free: 5.578 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5791779740247875] Failed to read output from testmodel.py, exit status != 0: 0.5998205770738423 0.610506325 0.052370094000000006 Calling exit ...