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.0007704/0.0007704, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0008239/0.0008239, allocations: 211.9 kB / 23.01 MB, free: 3.105 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.8997/0.8997, allocations: 230.6 MB / 256.8 MB, free: 3.43 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7403/0.7403, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 MB / 410.7 MB " [Timeout remaining time 179] 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: 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.0008593/0.0008593, allocations: 59.91 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4791, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01767/0.4968, allocations: 23.8 MB / 0.8423 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005243/0.502, allocations: 5.139 MB / 0.8474 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.5025, allocations: 42.25 kB / 0.8474 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.5031, allocations: 289.4 kB / 0.8477 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.5043, allocations: 0.8368 MB / 0.8485 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.5055, allocations: 0.8239 MB / 0.8493 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.5067, allocations: 1.659 MB / 0.8509 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004298/0.5071, allocations: 399.1 kB / 0.8513 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.5083, allocations: 0.7403 MB / 0.852 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.5087, allocations: 468.7 kB / 0.8525 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.5088, allocations: 45.34 kB / 0.8525 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007324/0.5095, allocations: 0.5253 MB / 0.853 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.5096, allocations: 145.8 kB / 0.8532 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.5098, allocations: 311.3 kB / 0.8535 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.5109, allocations: 0.951 MB / 0.8544 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5109, allocations: 4 kB / 0.8544 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.511, allocations: 1.281 kB / 0.8544 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.511, allocations: 4 kB / 0.8544 GB, free: 1.23 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.0008993/0.5119, allocations: 0.8231 MB / 0.8552 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5119, allocations: 10.95 kB / 0.8552 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.5121, allocations: 68.47 kB / 0.8553 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/0.5128, allocations: 0.5151 MB / 0.8558 GB, free: 296 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.5128, allocations: 32.94 kB / 0.8558 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.5128, allocations: 42.33 kB / 0.8558 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.5133, allocations: 439.9 kB / 0.8563 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5133, allocations: 5.078 kB / 0.8563 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.5134, allocations: 15.25 kB / 0.8563 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.5134, allocations: 11.44 kB / 0.8563 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.5138, allocations: 306.7 kB / 0.8566 GB, free: 15.92 MB / 0.6511 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.001841/0.5156, allocations: 1.772 MB / 0.8583 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.516, allocations: 240.7 kB / 0.8585 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.5162, allocations: 115.3 kB / 0.8587 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.5164, allocations: 109 kB / 0.8588 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5164, allocations: 31.94 kB / 0.8588 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 1.442e-06/0.5164, allocations: 0 / 0.8588 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0005102/0.517, allocations: 385.4 kB / 0.8592 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.517, allocations: 57.28 kB / 0.8592 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.5174, allocations: 477.3 kB / 0.8597 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.5174, allocations: 31.05 kB / 0.8597 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.5176, allocations: 268.4 kB / 0.86 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.5177, allocations: 95.23 kB / 0.86 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.5177, allocations: 74.83 kB / 0.8601 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5178, allocations: 357.7 kB / 0.8605 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.518, allocations: 97.89 kB / 0.8606 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.5181, allocations: 174.1 kB / 0.8607 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.5185, allocations: 280.3 kB / 0.861 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5185, allocations: 1.5 kB / 0.861 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004212/0.5189, allocations: 369 kB / 0.8613 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5189, allocations: 8.094 kB / 0.8613 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5189, allocations: 2.531 kB / 0.8613 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5189, allocations: 8.641 kB / 0.8614 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5191, allocations: 80.75 kB / 0.8614 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.5191, allocations: 8 kB / 0.8614 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.5192, allocations: 39.75 kB / 0.8615 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.5193, allocations: 21.3 kB / 0.8615 GB, free: 12.82 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.0001433/0.5194, allocations: 179 kB / 0.8617 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.5195, allocations: 53.58 kB / 0.8617 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.52, allocations: 477 kB / 0.8622 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.5201, allocations: 9.578 kB / 0.8622 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5201, allocations: 0 / 0.8622 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004069/0.5205, allocations: 0.5744 MB / 0.8627 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.5217, allocations: 1.065 MB / 0.8638 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5217, allocations: 2.531 kB / 0.8638 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.5218, allocations: 50.73 kB / 0.8638 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5218, allocations: 6.281 kB / 0.8638 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.5218, allocations: 11.08 kB / 0.8639 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.5218, allocations: 6.953 kB / 0.8639 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5218, allocations: 6.25 kB / 0.8639 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.5225, allocations: 0.6839 MB / 0.8645 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.5226, allocations: 102.7 kB / 0.8646 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.5226, allocations: 8.672 kB / 0.8646 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.5228, allocations: 9.562 kB / 0.8647 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.5228, allocations: 30.58 kB / 0.8647 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.5228, allocations: 20.83 kB / 0.8647 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002916/0.5231, allocations: 350.8 kB / 0.865 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5231, allocations: 0 / 0.865 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004287/0.5235, allocations: 200.1 kB / 0.8652 GB, free: 10.68 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.0003638/0.5239, allocations: 276.4 kB / 0.8655 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.5243, allocations: 283.6 kB / 0.8658 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5243, allocations: 1.094 kB / 0.8658 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.5245, allocations: 162.5 kB / 0.8659 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/0.5253, allocations: 328.6 kB / 0.8662 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.5266, allocations: 1.105 MB / 0.8673 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.5269, allocations: 0.8698 MB / 0.8682 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/0.527, allocations: 52.98 kB / 0.8682 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/0.527, allocations: 0 / 0.8682 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.009538/0.5365, allocations: 9.914 MB / 0.8779 GB, free: 3.438 MB / 0.6511 GB " [Timeout remaining time 659] 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: 7.4999289808329195] Failed to read output from testmodel.py, exit status != 0: 0.5422951998189092 0.550748161 0.038118973 Calling exit ...