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.0007962/0.0007962, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0009713/0.0009713, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8626/0.8626, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7066/0.7066, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.0009153/0.0009153, allocations: 71.89 kB / 0.6196 GB, free: 13.07 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.4313/0.4322, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01472/0.447, allocations: 21.54 MB / 0.7402 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004963/0.4519, allocations: 4.754 MB / 0.7448 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.4523, allocations: 40.81 kB / 0.7448 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.453, allocations: 288.6 kB / 0.7451 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.4542, allocations: 0.8316 MB / 0.7459 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.4554, allocations: 0.8291 MB / 0.7467 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.4566, allocations: 1.603 MB / 0.7483 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.457, allocations: 386.2 kB / 0.7487 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.4585, allocations: 0.9557 MB / 0.7496 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.4591, allocations: 445 kB / 0.75 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.602e-05/0.4592, allocations: 46.22 kB / 0.7501 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/0.4599, allocations: 411.1 kB / 0.7505 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4601, allocations: 149.7 kB / 0.7506 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.4602, allocations: 259.8 kB / 0.7509 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009745/0.4612, allocations: 0.9969 MB / 0.7518 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.4612, allocations: 0 / 0.7518 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4612, allocations: 0 / 0.7518 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.4612, allocations: 0 / 0.7518 GB, free: 2.52 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.0008557/0.4621, allocations: 0.8253 MB / 0.7526 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4621, allocations: 8.344 kB / 0.7526 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.4623, allocations: 68.69 kB / 0.7527 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006685/0.4629, allocations: 0.5151 MB / 0.7532 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.463, allocations: 33.31 kB / 0.7532 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.463, allocations: 42.27 kB / 0.7533 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.4635, allocations: 0.5062 MB / 0.7538 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4635, allocations: 1.406 kB / 0.7538 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.4636, allocations: 19.3 kB / 0.7538 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4636, allocations: 10.38 kB / 0.7538 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.4639, allocations: 301.4 kB / 0.7541 GB, free: 1.125 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.001478/0.4654, allocations: 1.457 MB / 0.7555 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.4658, allocations: 238.4 kB / 0.7557 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4659, allocations: 123.4 kB / 0.7559 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.4662, allocations: 100.5 kB / 0.756 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.4662, allocations: 37.84 kB / 0.756 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.4662, allocations: 0 / 0.756 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0004874/0.4667, allocations: 365 kB / 0.7563 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.4667, allocations: 55.61 kB / 0.7564 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.467, allocations: 408 kB / 0.7568 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.4671, allocations: 32.7 kB / 0.7568 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4672, allocations: 271.4 kB / 0.7571 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.4673, allocations: 98.88 kB / 0.7572 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.4674, allocations: 74.64 kB / 0.7572 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003303/0.4677, allocations: 353.9 kB / 0.7576 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.4678, allocations: 102.3 kB / 0.7577 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.468, allocations: 252 kB / 0.7579 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.4683, allocations: 279.4 kB / 0.7582 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4683, allocations: 0 / 0.7582 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004154/0.4687, allocations: 360.3 kB / 0.7585 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4687, allocations: 5.031 kB / 0.7585 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4687, allocations: 1.438 kB / 0.7585 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4687, allocations: 5.016 kB / 0.7585 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.4689, allocations: 74 kB / 0.7586 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.4689, allocations: 8.281 kB / 0.7586 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.469, allocations: 28.91 kB / 0.7586 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.4691, allocations: 17.33 kB / 0.7587 GB, free: 14.26 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.0001385/0.4692, allocations: 183.7 kB / 0.7588 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.4693, allocations: 49.3 kB / 0.7589 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005855/0.4698, allocations: 473.5 kB / 0.7593 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005551/0.4704, allocations: 0.58 MB / 0.7599 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4704, allocations: 5.312 kB / 0.7599 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.4705, allocations: 89.66 kB / 0.76 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.4706, allocations: 6.938 kB / 0.76 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.4707, allocations: 9.5 kB / 0.76 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.4707, allocations: 21.7 kB / 0.76 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005079/0.4712, allocations: 464.5 kB / 0.7605 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006961/0.4719, allocations: 0.7583 MB / 0.7612 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001643/0.4721, allocations: 152.3 kB / 0.7614 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002327/0.4723, allocations: 279.5 kB / 0.7616 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of Backend: time 2.71e-07/0.4723, allocations: 0 / 0.7616 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000751/0.4731, allocations: 404.9 kB / 0.762 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of SimCode: time 0.001598/0.4747, allocations: 1.554 MB / 0.7635 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.01178/0.4864, allocations: 10.67 MB / 0.7739 GB, free: 5.98 MB / 0.6511 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.093054417986423] Failed to read output from testmodel.py, exit status != 0: 0.4918353548273444 0.5010127400000001 0.038022942000000004 Calling exit ...