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.0007133/0.0007133, allocations: 100.4 kB / 19.7 MB, free: 452 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.0006888/0.0006888, allocations: 213 kB / 23 MB, free: 2.98 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.8884/0.8884, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7323/0.7323, allocations: 203.8 MB / 0.5049 GB, free: 10.39 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.001007/0.001007, allocations: 65.89 kB / 0.7194 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4418, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02023/0.462, allocations: 21.63 MB / 0.8402 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006443/0.4685, allocations: 4.752 MB / 0.8448 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000902/0.4694, allocations: 35.84 kB / 0.8448 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000778/0.4701, allocations: 281 kB / 0.8451 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.4721, allocations: 0.8396 MB / 0.8459 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.4738, allocations: 0.7926 MB / 0.8467 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002238/0.476, allocations: 1.646 MB / 0.8483 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005332/0.4766, allocations: 392.3 kB / 0.8487 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.4782, allocations: 0.7432 MB / 0.8494 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.4789, allocations: 444.1 kB / 0.8498 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.479, allocations: 46.22 kB / 0.8499 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009344/0.4799, allocations: 416.1 kB / 0.8503 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.48, allocations: 147.2 kB / 0.8504 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.4803, allocations: 251.2 kB / 0.8506 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.4817, allocations: 0.9385 MB / 0.8516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4817, allocations: 1.5 kB / 0.8516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4817, allocations: 4 kB / 0.8516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.4817, allocations: 0 / 0.8516 GB, free: 11.15 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.001343/0.4831, allocations: 0.8286 MB / 0.8524 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4831, allocations: 9.5 kB / 0.8524 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.4833, allocations: 70.86 kB / 0.8524 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.4842, allocations: 0.5179 MB / 0.853 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.4842, allocations: 33.44 kB / 0.853 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.4843, allocations: 37.06 kB / 0.853 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.4849, allocations: 0.5054 MB / 0.8535 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4849, allocations: 1.219 kB / 0.8535 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.4849, allocations: 24.98 kB / 0.8535 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.4849, allocations: 12.73 kB / 0.8536 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.4853, allocations: 299.1 kB / 0.8538 GB, free: 9.473 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.001769/0.4871, allocations: 1.445 MB / 0.8552 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.4876, allocations: 248.4 kB / 0.8555 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.4877, allocations: 115.7 kB / 0.8556 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.488, allocations: 105.1 kB / 0.8557 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.488, allocations: 41.56 kB / 0.8557 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 3.957e-06/0.4881, allocations: 0 / 0.8557 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.0006289/0.4887, allocations: 363.2 kB / 0.8561 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4887, allocations: 58.53 kB / 0.8561 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.4891, allocations: 404.8 kB / 0.8565 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.4892, allocations: 32.39 kB / 0.8566 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.4893, allocations: 272.3 kB / 0.8568 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.4894, allocations: 99.7 kB / 0.8569 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.4895, allocations: 75.12 kB / 0.857 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4896, allocations: 347.9 kB / 0.8573 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.4898, allocations: 99.47 kB / 0.8574 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.49, allocations: 252.8 kB / 0.8576 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.4903, allocations: 273.8 kB / 0.8579 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4903, allocations: 0.9688 kB / 0.8579 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004201/0.4907, allocations: 363.5 kB / 0.8583 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4908, allocations: 9.625 kB / 0.8583 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4908, allocations: 3.094 kB / 0.8583 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4908, allocations: 2.75 kB / 0.8583 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.491, allocations: 72.92 kB / 0.8583 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.491, allocations: 10.62 kB / 0.8584 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.4911, allocations: 32.28 kB / 0.8584 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.4912, allocations: 15.45 kB / 0.8584 GB, free: 6.102 MB / 0.6355 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.000192/0.4914, allocations: 178.2 kB / 0.8586 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.4914, allocations: 45.03 kB / 0.8586 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.492, allocations: 477.2 kB / 0.8591 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.492, allocations: 3.5 kB / 0.8591 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.492, allocations: 13.02 kB / 0.8591 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003999/0.4924, allocations: 0.5792 MB / 0.8596 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.4936, allocations: 0.9488 MB / 0.8606 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4936, allocations: 9.5 kB / 0.8606 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.4937, allocations: 47.77 kB / 0.8606 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4937, allocations: 2.969 kB / 0.8606 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.4937, allocations: 21.05 kB / 0.8607 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4937, allocations: 3.531 kB / 0.8607 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4937, allocations: 5.281 kB / 0.8607 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/0.4944, allocations: 0.6663 MB / 0.8613 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.4946, allocations: 95.14 kB / 0.8614 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.4946, allocations: 7.781 kB / 0.8614 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.4947, allocations: 9.156 kB / 0.8614 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.4948, allocations: 29.83 kB / 0.8614 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.4948, allocations: 14.77 kB / 0.8615 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002351/0.495, allocations: 280.1 kB / 0.8617 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.3e-07/0.495, allocations: 0 / 0.8617 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005885/0.4956, allocations: 209.2 kB / 0.8619 GB, free: 3.691 MB / 0.6355 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.0003934/0.496, allocations: 278.9 kB / 0.8622 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.4964, allocations: 297.3 kB / 0.8625 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4964, allocations: 4.125 kB / 0.8625 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.4966, allocations: 159.2 kB / 0.8626 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.4974, allocations: 251.2 kB / 0.8629 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.4988, allocations: 1.095 MB / 0.8639 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.499, allocations: 262.9 kB / 0.8642 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.4991, allocations: 52.75 kB / 0.8642 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/0.4991, allocations: 0 / 0.8642 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of Templates: time 0.01355/0.5127, allocations: 9.185 MB / 0.8732 GB, free: 13.45 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: 6.955837384797633] Failed to read output from testmodel.py, exit status != 0: 0.5187559239566326 0.526273379 0.042627949000000005 Calling exit ...