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.001308/0.001308, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001493/0.001493, allocations: 173.9 kB / 22.46 MB, free: 5.355 MB / 14.72 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.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.248/1.248, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 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 178] 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.843e-06/1.843e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.785e-05/3.969e-05, allocations: 8.969 kB / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.0269/0.02694, allocations: 21.47 MB / 0.6395 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008115/0.03506, allocations: 4.761 MB / 0.6442 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007797/0.03584, allocations: 39.62 kB / 0.6442 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.03669, allocations: 285.9 kB / 0.6445 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.03888, allocations: 0.8468 MB / 0.6453 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.04093, allocations: 0.8355 MB / 0.6461 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.04293, allocations: 1.655 MB / 0.6477 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006148/0.04354, allocations: 394 kB / 0.6481 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.04553, allocations: 0.9317 MB / 0.649 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.04611, allocations: 398.7 kB / 0.6494 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.04619, allocations: 44 kB / 0.6494 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008164/0.04701, allocations: 422.9 kB / 0.6498 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.04719, allocations: 143.4 kB / 0.65 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.04746, allocations: 223.5 kB / 0.6502 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.04879, allocations: 0.9542 MB / 0.6511 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.04879, allocations: 3.938 kB / 0.6511 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.04879, allocations: 0 / 0.6511 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.0488, allocations: 0 / 0.6511 GB, free: 3.152 MB / 0.5606 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.001453/0.05025, allocations: 0.8353 MB / 0.6519 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.05029, allocations: 9.469 kB / 0.652 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.05052, allocations: 72.55 kB / 0.652 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/0.05151, allocations: 0.4991 MB / 0.6525 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.05155, allocations: 33.38 kB / 0.6525 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.05161, allocations: 36.38 kB / 0.6526 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.05238, allocations: 0.5134 MB / 0.6531 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.0524, allocations: 0 / 0.6531 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.05244, allocations: 16 kB / 0.6531 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.05247, allocations: 11.98 kB / 0.6531 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.053, allocations: 299.8 kB / 0.6534 GB, free: 0.7422 MB / 0.5606 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.00253/0.05553, allocations: 1.443 MB / 0.6548 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.05607, allocations: 250.8 kB / 0.655 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.05627, allocations: 116.7 kB / 0.6551 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004864/0.05676, allocations: 107.9 kB / 0.6553 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.05679, allocations: 42.5 kB / 0.6553 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.05679, allocations: 0 / 0.6553 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0007423/0.05754, allocations: 368.2 kB / 0.6556 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.05758, allocations: 51.41 kB / 0.6557 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/0.05807, allocations: 397.9 kB / 0.6561 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.05811, allocations: 33.7 kB / 0.6561 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.05834, allocations: 284.4 kB / 0.6564 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.425e-05/0.05843, allocations: 95.28 kB / 0.6565 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.05855, allocations: 65.98 kB / 0.6565 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.05874, allocations: 358.7 kB / 0.6569 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.05891, allocations: 100.6 kB / 0.657 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.05919, allocations: 250.1 kB / 0.6572 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.05964, allocations: 283.2 kB / 0.6575 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.05964, allocations: 0 / 0.6575 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006374/0.06028, allocations: 361.1 kB / 0.6578 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.0603, allocations: 8 kB / 0.6578 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.06031, allocations: 0 / 0.6578 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.06033, allocations: 4 kB / 0.6578 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.06061, allocations: 76.06 kB / 0.6579 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.06062, allocations: 7.984 kB / 0.6579 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.06086, allocations: 31.78 kB / 0.6579 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.06089, allocations: 12 kB / 0.658 GB, free: 11.88 MB / 0.5762 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.0002571/0.06115, allocations: 185.7 kB / 0.6581 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/0.06125, allocations: 47.72 kB / 0.6582 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009573/0.06221, allocations: 478.9 kB / 0.6586 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.06222, allocations: 0 / 0.6586 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.06222, allocations: 4 kB / 0.6586 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006742/0.0629, allocations: 0.5799 MB / 0.6592 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.06462, allocations: 0.9478 MB / 0.6601 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.06462, allocations: 4.031 kB / 0.6601 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.06484, allocations: 51.91 kB / 0.6602 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.06485, allocations: 4 kB / 0.6602 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.06488, allocations: 11.94 kB / 0.6602 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.06488, allocations: 4 kB / 0.6602 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.06488, allocations: 3.984 kB / 0.6602 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.06582, allocations: 0.6688 MB / 0.6609 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.06599, allocations: 99.47 kB / 0.661 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.06605, allocations: 15.94 kB / 0.661 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.0663, allocations: 16.12 kB / 0.661 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.06635, allocations: 31.94 kB / 0.661 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.06638, allocations: 15.94 kB / 0.661 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003386/0.06672, allocations: 279.1 kB / 0.6613 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.06672, allocations: 0 / 0.6613 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006599/0.06738, allocations: 207.5 kB / 0.6615 GB, free: 8.078 MB / 0.5762 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.0005775/0.06796, allocations: 282.7 kB / 0.6618 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.06848, allocations: 284 kB / 0.662 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.06849, allocations: 0 / 0.662 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.06874, allocations: 155.8 kB / 0.6622 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.07002, allocations: 243.7 kB / 0.6624 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.07162, allocations: 0.9798 MB / 0.6634 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.07189, allocations: 270.2 kB / 0.6636 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003026/0.07219, allocations: 112.2 kB / 0.6637 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.07231, allocations: 52.48 kB / 0.6638 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.07231, allocations: 0 / 0.6638 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of Templates: time 0.02062/0.09293, allocations: 10.74 MB / 0.6743 GB, free: 11.18 MB / 0.5919 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.252123236656189] Failed to read output from testmodel.py, exit status != 0: 0.10269053652882576 0.11807368400000001 0.066035629 Calling exit ...