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.0009386/0.0009386, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009928/0.0009928, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.9417/0.9417, allocations: 177.1 MB / 204.7 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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 1.944/1.944, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.764e-06/1.764e-06, allocations: 0.6562 kB / 0.7754 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.092e-05, allocations: 5.266 kB / 0.7754 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.009008/0.009029, allocations: 8.746 MB / 0.7839 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004314/0.01334, allocations: 3.304 MB / 0.7872 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000508/0.01385, allocations: 36.59 kB / 0.7872 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.01437, allocations: 186.5 kB / 0.7874 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.01545, allocations: 0.666 MB / 0.788 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.01625, allocations: 0.6237 MB / 0.7886 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.01737, allocations: 1.598 MB / 0.7902 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005945/0.01797, allocations: 413.8 kB / 0.7906 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009587/0.01893, allocations: 0.7473 MB / 0.7913 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.0193, allocations: 382.8 kB / 0.7917 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.01936, allocations: 44 kB / 0.7917 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.01973, allocations: 274.1 kB / 0.792 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.01983, allocations: 147.4 kB / 0.7921 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.01997, allocations: 219.5 kB / 0.7923 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005948/0.02056, allocations: 0.6112 MB / 0.7929 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.02057, allocations: 3.938 kB / 0.7929 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.02057, allocations: 0 / 0.7929 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.02057, allocations: 0 / 0.7929 GB, free: 3.297 MB / 0.7448 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.000727/0.0213, allocations: 0.7662 MB / 0.7937 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.02133, allocations: 13.34 kB / 0.7937 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.02148, allocations: 80.8 kB / 0.7938 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.02193, allocations: 417.6 kB / 0.7942 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.02194, allocations: 29.38 kB / 0.7942 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.02199, allocations: 44.38 kB / 0.7942 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.02231, allocations: 388.5 kB / 0.7946 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.02232, allocations: 10.42 kB / 0.7946 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.02234, allocations: 16 kB / 0.7946 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.02237, allocations: 8 kB / 0.7946 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.02251, allocations: 125.7 kB / 0.7948 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.02362, allocations: 1.114 MB / 0.7959 GB, free: 204 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.02385, allocations: 182.2 kB / 0.796 GB, free: 12 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.02392, allocations: 51.67 kB / 0.7961 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.02407, allocations: 75.91 kB / 0.7961 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.02409, allocations: 42.5 kB / 0.7962 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.02409, allocations: 0.875 kB / 0.7962 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.000225/0.02432, allocations: 165 kB / 0.7963 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.02434, allocations: 56.31 kB / 0.7964 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.02455, allocations: 352.9 kB / 0.7967 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.02457, allocations: 34.45 kB / 0.7968 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.02466, allocations: 225.4 kB / 0.797 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.02471, allocations: 104.6 kB / 0.7971 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.02478, allocations: 73.94 kB / 0.7972 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.02486, allocations: 354.7 kB / 0.7975 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.0249, allocations: 31.47 kB / 0.7975 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/0.025, allocations: 189.7 kB / 0.7977 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.02513, allocations: 152.5 kB / 0.7979 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.02514, allocations: 4 kB / 0.7979 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001858/0.02532, allocations: 190.5 kB / 0.798 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.02534, allocations: 8 kB / 0.798 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.02534, allocations: 0 / 0.798 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.02535, allocations: 5 kB / 0.798 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.02551, allocations: 87.77 kB / 0.7981 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.02552, allocations: 5.156 kB / 0.7981 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.02561, allocations: 27.78 kB / 0.7982 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.02563, allocations: 12 kB / 0.7982 GB, free: 13.68 MB / 0.7605 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 9.717e-05/0.02573, allocations: 135.1 kB / 0.7983 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.02577, allocations: 40 kB / 0.7983 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.02609, allocations: 267.7 kB / 0.7986 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.02609, allocations: 4 kB / 0.7986 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.02609, allocations: 0 / 0.7986 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002198/0.02631, allocations: 388.7 kB / 0.799 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.02697, allocations: 0.6872 MB / 0.7996 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02697, allocations: 0 / 0.7996 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.0271, allocations: 55.91 kB / 0.7997 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.0271, allocations: 4 kB / 0.7997 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.02712, allocations: 8.781 kB / 0.7997 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.02712, allocations: 4 kB / 0.7997 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.02712, allocations: 4.75 kB / 0.7997 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.02747, allocations: 419.8 kB / 0.8001 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.02755, allocations: 67.56 kB / 0.8002 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.02758, allocations: 8 kB / 0.8002 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.02769, allocations: 13.05 kB / 0.8002 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.02771, allocations: 27.91 kB / 0.8002 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.02773, allocations: 7.984 kB / 0.8002 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001022/0.02783, allocations: 148.7 kB / 0.8004 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02783, allocations: 0 / 0.8004 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002957/0.02813, allocations: 183.5 kB / 0.8006 GB, free: 11.09 MB / 0.7605 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002384/0.02837, allocations: 184.5 kB / 0.8007 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.02854, allocations: 146.3 kB / 0.8009 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.02855, allocations: 8.656 kB / 0.8009 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.02863, allocations: 85.27 kB / 0.801 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.02917, allocations: 258.6 kB / 0.8012 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.0303, allocations: 0.8647 MB / 0.802 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.313e-05/0.03037, allocations: 125.8 kB / 0.8022 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.03054, allocations: 92 kB / 0.8023 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.03087, allocations: 231.1 kB / 0.8025 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of SimCode: time 1.022e-06/0.03087, allocations: 0.5312 kB / 0.8025 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of Templates: time 0.01211/0.04298, allocations: 10.66 MB / 0.8129 GB, free: 14.7 MB / 0.7761 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: 5.3080387488007545]