Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001966/0.001966, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002116/0.002116, allocations: 173.6 kB / 23.24 MB, free: 1.324 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 1.624/1.624, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.274/3.274, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.566e-05, allocations: 9.656 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.03045/0.03048, allocations: 21.45 MB / 1.022 GB, free: 7.445 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.009726/0.04021, allocations: 4.744 MB / 1.027 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.04133, allocations: 35.69 kB / 1.027 GB, free: 2.652 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.04237, allocations: 293.9 kB / 1.027 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.04509, allocations: 0.8545 MB / 1.028 GB, free: 1.504 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.04764, allocations: 0.8067 MB / 1.029 GB, free: 0.7031 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002717/0.05036, allocations: 1.62 MB / 1.03 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/0.05104, allocations: 369.4 kB / 1.031 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.0537, allocations: 0.9307 MB / 1.031 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007491/0.05445, allocations: 386.8 kB / 1.032 GB, free: 13.4 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-05/0.05455, allocations: 48 kB / 1.032 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.05574, allocations: 418.9 kB / 1.032 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.05595, allocations: 155.4 kB / 1.032 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.05633, allocations: 223.4 kB / 1.033 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.0581, allocations: 0.9426 MB / 1.034 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.05811, allocations: 0 / 1.034 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.05811, allocations: 0 / 1.034 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.05812, allocations: 0 / 1.034 GB, free: 11.63 MB / 0.9948 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.001598/0.05972, allocations: 0.8198 MB / 1.034 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.05977, allocations: 13.34 kB / 1.034 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.06001, allocations: 68.56 kB / 1.034 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.06113, allocations: 0.5029 MB / 1.035 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.06117, allocations: 29.38 kB / 1.035 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.06126, allocations: 40.38 kB / 1.035 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008655/0.06212, allocations: 0.5056 MB / 1.036 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.06215, allocations: 8 kB / 1.036 GB, free: 9.551 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.0622, allocations: 19.98 kB / 1.036 GB, free: 9.531 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.06222, allocations: 12 kB / 1.036 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.0628, allocations: 299.8 kB / 1.036 GB, free: 9.223 MB / 0.9948 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.002729/0.06552, allocations: 1.447 MB / 1.037 GB, free: 7.727 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.06613, allocations: 253.2 kB / 1.038 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.06634, allocations: 112.7 kB / 1.038 GB, free: 7.359 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.06685, allocations: 111.9 kB / 1.038 GB, free: 7.25 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.06689, allocations: 34.56 kB / 1.038 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/0.06689, allocations: 0 / 1.038 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26): time 0.0008029/0.0677, allocations: 365.2 kB / 1.038 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.06775, allocations: 55.41 kB / 1.038 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.06832, allocations: 397.9 kB / 1.039 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.06836, allocations: 29.7 kB / 1.039 GB, free: 6.344 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.06865, allocations: 268.5 kB / 1.039 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.06876, allocations: 99.19 kB / 1.039 GB, free: 5.98 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.06889, allocations: 73.97 kB / 1.039 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.06911, allocations: 354.7 kB / 1.039 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.06931, allocations: 104.6 kB / 1.039 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.0697, allocations: 241.2 kB / 1.04 GB, free: 5.168 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.07019, allocations: 282.7 kB / 1.04 GB, free: 4.867 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.0702, allocations: 0 / 1.04 GB, free: 4.867 MB / 0.9948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006461/0.07084, allocations: 358.5 kB / 1.04 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.07086, allocations: 6.031 kB / 1.04 GB, free: 4.508 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.07087, allocations: 4 kB / 1.04 GB, free: 4.504 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.07089, allocations: 4 kB / 1.04 GB, free: 4.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.07119, allocations: 75.84 kB / 1.04 GB, free: 4.426 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.0712, allocations: 4 kB / 1.04 GB, free: 4.422 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.07144, allocations: 32 kB / 1.04 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.07147, allocations: 20 kB / 1.04 GB, free: 4.371 MB / 0.9948 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.0002527/0.07173, allocations: 186.2 kB / 1.041 GB, free: 4.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.07182, allocations: 43.75 kB / 1.041 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009484/0.07277, allocations: 469 kB / 1.041 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.07279, allocations: 7.984 kB / 1.041 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.07279, allocations: 0 / 1.041 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008966/0.07369, allocations: 0.5783 MB / 1.042 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.07559, allocations: 0.9601 MB / 1.043 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.07559, allocations: 0 / 1.043 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.07582, allocations: 55.92 kB / 1.043 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.07583, allocations: 8.172 kB / 1.043 GB, free: 1.941 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.07586, allocations: 15.94 kB / 1.043 GB, free: 1.926 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.07587, allocations: 4 kB / 1.043 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.07587, allocations: 0 / 1.043 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.07693, allocations: 0.6719 MB / 1.043 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.07712, allocations: 79.64 kB / 1.043 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.07717, allocations: 11.94 kB / 1.043 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.0774, allocations: 12 kB / 1.043 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.07746, allocations: 27.89 kB / 1.043 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.0775, allocations: 19.98 kB / 1.043 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003953/0.07789, allocations: 279.2 kB / 1.044 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/0.07789, allocations: 0 / 1.044 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000723/0.07862, allocations: 207.5 kB / 1.044 GB, free: 0.5938 MB / 0.9948 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.0006105/0.07923, allocations: 282.7 kB / 1.044 GB, free: 312 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005803/0.07981, allocations: 284 kB / 1.044 GB, free: 28 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.07981, allocations: 4.125 kB / 1.044 GB, free: 24 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.0801, allocations: 156.4 kB / 1.045 GB, free: 15.87 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.08159, allocations: 247.2 kB / 1.045 GB, free: 15.64 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.08344, allocations: 0.9622 MB / 1.046 GB, free: 14.63 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.08376, allocations: 262.2 kB / 1.046 GB, free: 14.35 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003401/0.0841, allocations: 104.2 kB / 1.046 GB, free: 14.24 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.08422, allocations: 48.48 kB / 1.046 GB, free: 14.2 MB / 1.01 GB Notification: Performance of SimCode: time 6.21e-07/0.08422, allocations: 7.938 kB / 1.046 GB, free: 14.19 MB / 1.01 GB Notification: Performance of Templates: time 0.02196/0.1062, allocations: 10.58 MB / 1.057 GB, free: 3.844 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.264295141212642]