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.00135/0.00135, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001516/0.001516, allocations: 161 kB / 24.16 MB, free: 336 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.9533/0.9533, allocations: 177.2 MB / 204.6 MB, free: 5.469 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 2.021/2.021, allocations: 389.6 MB / 0.6354 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] 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.913e-06/1.913e-06, allocations: 0 / 0.7752 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.698e-05, allocations: 2.969 kB / 0.7752 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01141/0.01143, allocations: 8.756 MB / 0.7838 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006209/0.01764, allocations: 3.319 MB / 0.787 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000862/0.0185, allocations: 36.62 kB / 0.787 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.01914, allocations: 174.6 kB / 0.7872 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.02089, allocations: 0.6624 MB / 0.7879 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.02249, allocations: 0.6479 MB / 0.7885 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.0248, allocations: 1.589 MB / 0.79 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.02589, allocations: 420.7 kB / 0.7904 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.0273, allocations: 0.7394 MB / 0.7912 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000744/0.02804, allocations: 387.7 kB / 0.7915 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.02815, allocations: 44 kB / 0.7916 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007413/0.02889, allocations: 273.2 kB / 0.7918 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.02904, allocations: 147.4 kB / 0.792 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.0293, allocations: 215.5 kB / 0.7922 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.03048, allocations: 0.619 MB / 0.7928 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.03049, allocations: 0 / 0.7928 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/0.03049, allocations: 1.094 kB / 0.7928 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.03051, allocations: 0 / 0.7928 GB, free: 3.344 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.0008965/0.03141, allocations: 0.7649 MB / 0.7935 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.03144, allocations: 14.97 kB / 0.7936 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.03162, allocations: 80.8 kB / 0.7936 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.03215, allocations: 415.6 kB / 0.794 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.03218, allocations: 30.16 kB / 0.7941 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.03223, allocations: 44.36 kB / 0.7941 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.03258, allocations: 393 kB / 0.7945 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.0326, allocations: 6.562 kB / 0.7945 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.03262, allocations: 16 kB / 0.7945 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.03265, allocations: 8 kB / 0.7945 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.0328, allocations: 121.7 kB / 0.7946 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.03404, allocations: 1.118 MB / 0.7957 GB, free: 252 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.0343, allocations: 178.9 kB / 0.7959 GB, free: 60 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.03436, allocations: 52.55 kB / 0.7959 GB, free: 4 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.03456, allocations: 77.77 kB / 0.796 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.03458, allocations: 34.56 kB / 0.796 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.03458, allocations: 2.406 kB / 0.796 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.000247/0.03483, allocations: 168.8 kB / 0.7962 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.03486, allocations: 55.41 kB / 0.7963 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.03509, allocations: 364.8 kB / 0.7966 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.03512, allocations: 33.7 kB / 0.7966 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.03521, allocations: 221.4 kB / 0.7968 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.03526, allocations: 103.1 kB / 0.7969 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.03534, allocations: 74.83 kB / 0.797 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.03543, allocations: 358.6 kB / 0.7974 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.03548, allocations: 32.38 kB / 0.7974 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.03558, allocations: 177.2 kB / 0.7976 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.03573, allocations: 160.4 kB / 0.7977 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.03573, allocations: 4 kB / 0.7977 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000201/0.03593, allocations: 191 kB / 0.7979 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.03594, allocations: 8 kB / 0.7979 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.03595, allocations: 0 / 0.7979 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.03596, allocations: 4 kB / 0.7979 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.03614, allocations: 80.95 kB / 0.798 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.03614, allocations: 7.938 kB / 0.798 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.03625, allocations: 28.97 kB / 0.798 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.03628, allocations: 12 kB / 0.798 GB, free: 13.73 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.543e-05/0.03637, allocations: 133.5 kB / 0.7982 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.03642, allocations: 35.97 kB / 0.7982 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.03673, allocations: 264.6 kB / 0.7984 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.03674, allocations: 4 kB / 0.7985 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.03674, allocations: 1.969 kB / 0.7985 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001864/0.03693, allocations: 387.1 kB / 0.7988 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007193/0.03765, allocations: 0.69 MB / 0.7995 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.03765, allocations: 0 / 0.7995 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.03778, allocations: 48.97 kB / 0.7995 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.03778, allocations: 4 kB / 0.7995 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.0378, allocations: 9.688 kB / 0.7996 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.0378, allocations: 7.938 kB / 0.7996 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.03781, allocations: 3.938 kB / 0.7996 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.03813, allocations: 423.8 kB / 0.8 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.03821, allocations: 63.72 kB / 0.8 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.03824, allocations: 8 kB / 0.8 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.03835, allocations: 12.77 kB / 0.8001 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.03838, allocations: 32.7 kB / 0.8001 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.0384, allocations: 11.92 kB / 0.8001 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001134/0.03851, allocations: 152.6 kB / 0.8002 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03851, allocations: 0 / 0.8002 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003365/0.03885, allocations: 187.5 kB / 0.8004 GB, free: 11.13 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.0002452/0.0391, allocations: 176.9 kB / 0.8006 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.03928, allocations: 146.5 kB / 0.8007 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.03929, allocations: 4 kB / 0.8007 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.03937, allocations: 90.39 kB / 0.8008 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.03995, allocations: 248 kB / 0.8011 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.04102, allocations: 0.8682 MB / 0.8019 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.0411, allocations: 125.8 kB / 0.802 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.04129, allocations: 87.38 kB / 0.8021 GB, free: 9.359 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.04164, allocations: 236.2 kB / 0.8023 GB, free: 9.129 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/0.04164, allocations: 1 kB / 0.8023 GB, free: 9.129 MB / 0.7605 GB Notification: Performance of Templates: time 0.01251/0.05415, allocations: 10.66 MB / 0.8127 GB, free: 14.75 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2087449403479695]