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.0008377/0.0008377, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008477/0.0008477, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.9031/0.9031, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7478/0.7478, allocations: 154.6 MB / 414.5 MB, free: 0.793 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.945e-05, allocations: 5.375 kB / 0.6194 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01566/0.01568, allocations: 21.46 MB / 0.6403 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.02098, allocations: 4.768 MB / 0.645 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003984/0.02137, allocations: 39.62 kB / 0.645 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.022, allocations: 285.9 kB / 0.6453 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.02332, allocations: 0.8533 MB / 0.6461 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00095/0.02427, allocations: 0.835 MB / 0.6469 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.02543, allocations: 1.648 MB / 0.6485 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.02582, allocations: 394 kB / 0.6489 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.02699, allocations: 0.9425 MB / 0.6498 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.02734, allocations: 390.8 kB / 0.6502 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.02739, allocations: 44 kB / 0.6502 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.02783, allocations: 423 kB / 0.6506 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.02794, allocations: 151.4 kB / 0.6508 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.02808, allocations: 223.4 kB / 0.651 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008111/0.02889, allocations: 0.9503 MB / 0.6519 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.0289, allocations: 0 / 0.6519 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.0289, allocations: 4 kB / 0.6519 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.0289, allocations: 0 / 0.6519 GB, free: 11.51 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.000894/0.0298, allocations: 0.8198 MB / 0.6527 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.02984, allocations: 8.031 kB / 0.6527 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.03, allocations: 76.52 kB / 0.6528 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.03076, allocations: 0.5107 MB / 0.6533 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.03078, allocations: 33.38 kB / 0.6533 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.03084, allocations: 52.31 kB / 0.6534 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.03142, allocations: 0.5056 MB / 0.6539 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.03144, allocations: 0 / 0.6539 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.03147, allocations: 16 kB / 0.6539 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.03149, allocations: 12 kB / 0.6539 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.03184, allocations: 307.8 kB / 0.6542 GB, free: 9.09 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.001704/0.03354, allocations: 1.435 MB / 0.6556 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.03396, allocations: 242.8 kB / 0.6558 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.03408, allocations: 112.8 kB / 0.656 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.03433, allocations: 103.8 kB / 0.6561 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.03435, allocations: 34.56 kB / 0.6561 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.03435, allocations: 0 / 0.6561 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0006722/0.03503, allocations: 365.2 kB / 0.6564 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.03506, allocations: 59.41 kB / 0.6565 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.03538, allocations: 397.9 kB / 0.6569 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.0354, allocations: 33.7 kB / 0.6569 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.03556, allocations: 272.5 kB / 0.6572 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.03562, allocations: 99.23 kB / 0.6573 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.0357, allocations: 66.02 kB / 0.6573 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.03582, allocations: 362.7 kB / 0.6577 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.03594, allocations: 96.59 kB / 0.6578 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.03611, allocations: 250.1 kB / 0.658 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.03638, allocations: 279.7 kB / 0.6583 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.03638, allocations: 0 / 0.6583 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003668/0.03675, allocations: 365.8 kB / 0.6586 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.03676, allocations: 8.031 kB / 0.6586 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.03677, allocations: 4 kB / 0.6586 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.03678, allocations: 11.92 kB / 0.6586 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.03693, allocations: 67.91 kB / 0.6587 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.03694, allocations: 4 kB / 0.6587 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.03705, allocations: 35.81 kB / 0.6587 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.03707, allocations: 15.98 kB / 0.6588 GB, free: 4.258 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.0001319/0.0372, allocations: 181.7 kB / 0.6589 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.03725, allocations: 47.66 kB / 0.659 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.03775, allocations: 475 kB / 0.6594 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.03776, allocations: 7.984 kB / 0.6594 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.03777, allocations: 0 / 0.6594 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000617/0.03838, allocations: 0.5724 MB / 0.66 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.03932, allocations: 0.9671 MB / 0.6609 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.03932, allocations: 4 kB / 0.6609 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.03944, allocations: 43.92 kB / 0.661 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.03944, allocations: 4 kB / 0.661 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.03946, allocations: 15.92 kB / 0.661 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.03946, allocations: 4 kB / 0.661 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.03946, allocations: 4 kB / 0.661 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.04002, allocations: 0.6723 MB / 0.6617 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.04012, allocations: 87.64 kB / 0.6617 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.04016, allocations: 11.94 kB / 0.6618 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.04027, allocations: 8 kB / 0.6618 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.04031, allocations: 27.89 kB / 0.6618 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.04033, allocations: 15.98 kB / 0.6618 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001947/0.04052, allocations: 279.1 kB / 0.6621 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.04052, allocations: 7.938 kB / 0.6621 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003908/0.04091, allocations: 207.5 kB / 0.6623 GB, free: 476 kB / 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.0003498/0.04126, allocations: 278.7 kB / 0.6625 GB, free: 188 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.04159, allocations: 278.1 kB / 0.6628 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.04159, allocations: 0 / 0.6628 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.04174, allocations: 160.5 kB / 0.663 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.04241, allocations: 267.8 kB / 0.6632 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.04343, allocations: 1.002 MB / 0.6642 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.04359, allocations: 262.2 kB / 0.6644 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/0.04368, allocations: 56.42 kB / 0.6645 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of SimCode: time 4.1e-07/0.04368, allocations: 0 / 0.6645 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.007885/0.05157, allocations: 9.256 MB / 0.6735 GB, free: 4.949 MB / 0.6355 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: 6.206979611888528] Failed to read output from testmodel.py, exit status != 0: 0.05702371150255203 0.315456109 0.28522739899999994 Calling exit ...