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.0009193/0.0009193, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00101/0.00101, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9086/0.9086, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.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.735/0.735, allocations: 154.6 MB / 414.5 MB, free: 0.8359 MB / 378.7 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 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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.908e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.0153/0.01533, allocations: 21.46 MB / 0.6403 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006602/0.02193, allocations: 4.762 MB / 0.6449 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.02311, allocations: 35.69 kB / 0.6449 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000952/0.02406, allocations: 285.9 kB / 0.6452 GB, free: 2.547 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.02653, allocations: 0.8506 MB / 0.646 GB, free: 1.691 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.02857, allocations: 0.8423 MB / 0.6469 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002337/0.03091, allocations: 1.652 MB / 0.6485 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006772/0.03159, allocations: 382.1 kB / 0.6488 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.03361, allocations: 0.9399 MB / 0.6498 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.03407, allocations: 398.7 kB / 0.6501 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.03413, allocations: 44 kB / 0.6502 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000842/0.03497, allocations: 422.9 kB / 0.6506 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.03509, allocations: 151.4 kB / 0.6507 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.03527, allocations: 215.5 kB / 0.6509 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.03642, allocations: 0.9542 MB / 0.6519 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.03643, allocations: 8 kB / 0.6519 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.155e-06/0.03643, allocations: 0 / 0.6519 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.03644, allocations: 0 / 0.6519 GB, free: 11.71 MB / 0.6198 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.001044/0.03748, allocations: 0.8198 MB / 0.6527 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.03753, allocations: 9.469 kB / 0.6527 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.03772, allocations: 80.45 kB / 0.6528 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.03852, allocations: 0.5108 MB / 0.6533 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.03854, allocations: 33.31 kB / 0.6533 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.0386, allocations: 44.33 kB / 0.6533 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.03916, allocations: 0.5017 MB / 0.6538 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.03917, allocations: 0 / 0.6538 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.0392, allocations: 19.98 kB / 0.6538 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.03923, allocations: 8 kB / 0.6538 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.03957, allocations: 311.7 kB / 0.6541 GB, free: 9.289 MB / 0.6198 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.001801/0.04137, allocations: 1.439 MB / 0.6555 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.04178, allocations: 241.3 kB / 0.6558 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.0419, allocations: 116.7 kB / 0.6559 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.04218, allocations: 99.89 kB / 0.656 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.04221, allocations: 38.56 kB / 0.656 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.675e-06/0.04221, allocations: 0 / 0.656 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0005026/0.04271, allocations: 372.7 kB / 0.6564 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.04274, allocations: 51.41 kB / 0.6564 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.04306, allocations: 401.9 kB / 0.6568 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.04309, allocations: 37.64 kB / 0.6568 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.04323, allocations: 272.5 kB / 0.6571 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.04328, allocations: 99.23 kB / 0.6572 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.04336, allocations: 70.02 kB / 0.6573 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.04346, allocations: 350.7 kB / 0.6576 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.04357, allocations: 100.6 kB / 0.6577 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.04375, allocations: 250.1 kB / 0.6579 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.04402, allocations: 279.7 kB / 0.6582 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.04403, allocations: 0 / 0.6582 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005608/0.04459, allocations: 365.2 kB / 0.6586 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.04461, allocations: 11.98 kB / 0.6586 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.04462, allocations: 0 / 0.6586 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.04463, allocations: 4 kB / 0.6586 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.04479, allocations: 75.84 kB / 0.6586 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.0448, allocations: 4 kB / 0.6586 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.04495, allocations: 31.77 kB / 0.6587 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.04497, allocations: 16 kB / 0.6587 GB, free: 4.453 MB / 0.6198 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.000153/0.04513, allocations: 177.7 kB / 0.6589 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.04518, allocations: 51.78 kB / 0.6589 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.04572, allocations: 474.3 kB / 0.6594 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.04574, allocations: 7.984 kB / 0.6594 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.04574, allocations: 0 / 0.6594 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003775/0.04612, allocations: 0.5801 MB / 0.6599 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.04718, allocations: 0.9593 MB / 0.6609 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.04718, allocations: 0 / 0.6609 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.04732, allocations: 51.97 kB / 0.6609 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.04732, allocations: 7.938 kB / 0.6609 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.04734, allocations: 11.94 kB / 0.6609 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.04734, allocations: 4 kB / 0.6609 GB, free: 2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.04735, allocations: 4.172 kB / 0.6609 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.04795, allocations: 0.6844 MB / 0.6616 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.04807, allocations: 83.64 kB / 0.6617 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.04811, allocations: 11.94 kB / 0.6617 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.04824, allocations: 15.94 kB / 0.6617 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.04827, allocations: 23.95 kB / 0.6617 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.04829, allocations: 19.98 kB / 0.6618 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000211/0.0485, allocations: 279.1 kB / 0.662 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0485, allocations: 0 / 0.662 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005307/0.04903, allocations: 207.5 kB / 0.6622 GB, free: 0.6484 MB / 0.6198 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.0004215/0.04946, allocations: 274.7 kB / 0.6625 GB, free: 380 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.04983, allocations: 287.9 kB / 0.6628 GB, free: 92 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.04983, allocations: 0 / 0.6628 GB, free: 92 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.05, allocations: 156.6 kB / 0.6629 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.05072, allocations: 260.4 kB / 0.6632 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.05199, allocations: 1.005 MB / 0.6641 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.05216, allocations: 266.2 kB / 0.6644 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.05226, allocations: 48.48 kB / 0.6644 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/0.05227, allocations: 3.938 kB / 0.6644 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.009554/0.06182, allocations: 9.255 MB / 0.6735 GB, free: 5.129 MB / 0.6355 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.701292420737445] Failed to read output from testmodel.py, exit status != 0: 0.06842462252825499 0.37066509999999997 0.332513095 Calling exit ...