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.001299/0.001299, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001676/0.001676, allocations: 214.6 kB / 22.25 MB, free: 5.258 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.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.325/1.325, allocations: 203.8 MB / 0.5041 GB, free: 4.574 MB / 414.1 MB " [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: 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.002254/0.002254, allocations: 71.88 kB / 0.7187 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6553/0.6576, allocations: 102 MB / 0.8183 GB, free: 28.93 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02501/0.6826, allocations: 21.63 MB / 0.8394 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008666/0.6913, allocations: 4.754 MB / 0.844 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.6927, allocations: 37 kB / 0.8441 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.6938, allocations: 279.6 kB / 0.8443 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.6966, allocations: 0.8335 MB / 0.8452 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.6989, allocations: 0.8014 MB / 0.8459 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002574/0.7015, allocations: 1.648 MB / 0.8475 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.7022, allocations: 392.9 kB / 0.8479 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.7044, allocations: 0.7406 MB / 0.8486 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007139/0.7051, allocations: 448.6 kB / 0.8491 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.7052, allocations: 46.03 kB / 0.8491 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.7065, allocations: 412.2 kB / 0.8495 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.7067, allocations: 149.3 kB / 0.8497 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.7069, allocations: 256.6 kB / 0.8499 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.7085, allocations: 0.9325 MB / 0.8508 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7085, allocations: 0 / 0.8508 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7085, allocations: 5.062 kB / 0.8508 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.7085, allocations: 0 / 0.8508 GB, free: 7.922 MB / 0.6387 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.001447/0.71, allocations: 0.8282 MB / 0.8516 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.71, allocations: 10.84 kB / 0.8516 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.7103, allocations: 71.39 kB / 0.8517 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.7115, allocations: 0.5154 MB / 0.8522 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.7115, allocations: 36.61 kB / 0.8522 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-05/0.7116, allocations: 43.62 kB / 0.8523 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008534/0.7125, allocations: 0.4984 MB / 0.8528 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.7125, allocations: 0 / 0.8528 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.7125, allocations: 17.22 kB / 0.8528 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.7126, allocations: 9.688 kB / 0.8528 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.7131, allocations: 309.7 kB / 0.8531 GB, free: 6.52 MB / 0.6387 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.002408/0.7155, allocations: 1.441 MB / 0.8545 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.716, allocations: 239.9 kB / 0.8547 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.7163, allocations: 115.7 kB / 0.8548 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005313/0.7168, allocations: 105.3 kB / 0.8549 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.7168, allocations: 37.83 kB / 0.855 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.7168, allocations: 0 / 0.855 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of matching and sorting (n=26): time 0.0007592/0.7176, allocations: 366.1 kB / 0.8553 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.7176, allocations: 54.69 kB / 0.8554 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.7181, allocations: 405.1 kB / 0.8558 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.7181, allocations: 36.33 kB / 0.8558 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.7183, allocations: 280.2 kB / 0.8561 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.7184, allocations: 94.61 kB / 0.8561 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.7185, allocations: 74.31 kB / 0.8562 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.7186, allocations: 349.8 kB / 0.8566 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.7188, allocations: 97.34 kB / 0.8566 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.719, allocations: 249.5 kB / 0.8569 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.7194, allocations: 281.3 kB / 0.8572 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7194, allocations: 1.188 kB / 0.8572 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005682/0.72, allocations: 362.1 kB / 0.8575 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.72, allocations: 7.094 kB / 0.8575 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.72, allocations: 1.625 kB / 0.8575 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.72, allocations: 7.562 kB / 0.8575 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.7203, allocations: 78.17 kB / 0.8576 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.7203, allocations: 8.125 kB / 0.8576 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.7206, allocations: 33.44 kB / 0.8576 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.7206, allocations: 13.36 kB / 0.8576 GB, free: 3.66 MB / 0.6387 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.0001757/0.7208, allocations: 181.2 kB / 0.8578 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.7209, allocations: 45.16 kB / 0.8579 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008401/0.7217, allocations: 480.5 kB / 0.8583 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.7218, allocations: 8.625 kB / 0.8583 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7218, allocations: 3.938 kB / 0.8583 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005483/0.7223, allocations: 0.577 MB / 0.8589 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.7241, allocations: 0.9517 MB / 0.8598 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.7241, allocations: 7.375 kB / 0.8598 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.7243, allocations: 53.25 kB / 0.8599 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.7243, allocations: 3.281 kB / 0.8599 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.7243, allocations: 9.969 kB / 0.8599 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.7243, allocations: 3.672 kB / 0.8599 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7244, allocations: 5.75 kB / 0.8599 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.7252, allocations: 0.6687 MB / 0.8606 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.7254, allocations: 95.5 kB / 0.8606 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.7255, allocations: 8.656 kB / 0.8607 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.7258, allocations: 11.53 kB / 0.8607 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.7258, allocations: 23.91 kB / 0.8607 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.7259, allocations: 17.88 kB / 0.8607 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003272/0.7262, allocations: 278.3 kB / 0.861 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7262, allocations: 0 / 0.861 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000868/0.7271, allocations: 212.7 kB / 0.8612 GB, free: 1.625 MB / 0.6387 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.0005094/0.7276, allocations: 276.8 kB / 0.8614 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.7281, allocations: 296 kB / 0.8617 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7281, allocations: 0 / 0.8617 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.7283, allocations: 163 kB / 0.8619 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.7295, allocations: 258.2 kB / 0.8621 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.7311, allocations: 1.07 MB / 0.8632 GB, free: 380 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.7313, allocations: 268.8 kB / 0.8634 GB, free: 204 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003255/0.7316, allocations: 97.05 kB / 0.8635 GB, free: 160 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.7317, allocations: 44.7 kB / 0.8636 GB, free: 148 kB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.7317, allocations: 1.312 kB / 0.8636 GB, free: 148 kB / 0.6387 GB Notification: Performance of Templates: time 0.02353/0.7553, allocations: 11.55 MB / 0.8748 GB, free: 10.32 MB / 0.6544 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.327199872583151] Failed to read output from testmodel.py, exit status != 0: 0.7651955336332321 0.7831348410000001 0.071115648 Calling exit ...