Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001483/0.001483, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001144/0.001144, allocations: 170.5 kB / 24.84 MB, free: 9.254 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6798/0.6798, allocations: 115 MB / 376.8 MB, free: 7.504 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") translateModel(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 482.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.543e-05, allocations: 2.312 kB / 482.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.006563/0.006578, allocations: 8.637 MB / 491.4 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.01026, allocations: 3.248 MB / 494.6 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.01058, allocations: 39.88 kB / 494.7 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.01094, allocations: 179.2 kB / 494.9 MB, free: 3.578 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008835/0.01183, allocations: 0.6691 MB / 495.5 MB, free: 3.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.01268, allocations: 0.6365 MB / 496.2 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.01395, allocations: 1.603 MB / 497.8 MB, free: 2.094 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.01436, allocations: 404.6 kB / 498.2 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008959/0.01526, allocations: 0.7544 MB / 498.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.01568, allocations: 404.1 kB / 499.3 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.01575, allocations: 44.69 kB / 499.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.01613, allocations: 267.7 kB / 499.6 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.01622, allocations: 147.7 kB / 499.8 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.0164, allocations: 216.1 kB / 500 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.01703, allocations: 0.6182 MB / 0.4889 GB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01704, allocations: 5.031 kB / 0.4889 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01704, allocations: 0 / 0.4889 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.01704, allocations: 3.938 kB / 0.4889 GB, free: 0.9102 MB / 410.7 MB 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.0007353/0.01778, allocations: 0.9022 MB / 0.4898 GB, free: 220 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.01781, allocations: 10.47 kB / 0.4898 GB, free: 220 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.01801, allocations: 101.8 kB / 0.4899 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.01857, allocations: 473.9 kB / 0.4903 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.0186, allocations: 29.06 kB / 0.4903 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.01865, allocations: 45.05 kB / 0.4904 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.01908, allocations: 396.7 kB / 0.4908 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01909, allocations: 3.984 kB / 0.4908 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.01912, allocations: 15.69 kB / 0.4908 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.01915, allocations: 12.94 kB / 0.4908 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.01934, allocations: 129.3 kB / 0.4909 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.02101, allocations: 1.529 MB / 0.4924 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.0213, allocations: 152.9 kB / 0.4926 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.02138, allocations: 56.67 kB / 0.4926 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.02161, allocations: 69.5 kB / 0.4927 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.978e-05/0.02171, allocations: 40.19 kB / 0.4927 GB, free: 14.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.103e-06/0.02171, allocations: 0.75 kB / 0.4927 GB, free: 14.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003718/0.02208, allocations: 222.3 kB / 0.4929 GB, free: 14.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.02212, allocations: 56.34 kB / 0.493 GB, free: 14.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.02249, allocations: 412.7 kB / 0.4934 GB, free: 13.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.02251, allocations: 31.23 kB / 0.4934 GB, free: 13.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.0227, allocations: 322.3 kB / 0.4937 GB, free: 13.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.02277, allocations: 96.95 kB / 0.4938 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.02287, allocations: 82.86 kB / 0.4939 GB, free: 13.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.02304, allocations: 0.5232 MB / 0.4944 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.02311, allocations: 35.83 kB / 0.4944 GB, free: 12.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.02325, allocations: 206.7 kB / 0.4946 GB, free: 12.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.02343, allocations: 178.3 kB / 0.4948 GB, free: 12.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02343, allocations: 1.062 kB / 0.4948 GB, free: 12.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002988/0.02373, allocations: 246.4 kB / 0.495 GB, free: 12.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.02374, allocations: 7.578 kB / 0.495 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.02375, allocations: 1.688 kB / 0.495 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.02376, allocations: 4.812 kB / 0.495 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.02393, allocations: 70.22 kB / 0.4951 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.02394, allocations: 3.562 kB / 0.4951 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.02406, allocations: 41.81 kB / 0.4952 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.02409, allocations: 10.7 kB / 0.4952 GB, free: 12.5 MB / 426.7 MB 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.0002693/0.02436, allocations: 176.4 kB / 0.4953 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.02442, allocations: 49.86 kB / 0.4954 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.02488, allocations: 308.2 kB / 0.4957 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.0249, allocations: 7.156 kB / 0.4957 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.0249, allocations: 1.031 kB / 0.4957 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002909/0.02519, allocations: 431.1 kB / 0.4961 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.02609, allocations: 0.7571 MB / 0.4968 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.02609, allocations: 2.156 kB / 0.4968 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.02621, allocations: 49.53 kB / 0.4969 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.02622, allocations: 6.344 kB / 0.4969 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.02623, allocations: 15.78 kB / 0.4969 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.02624, allocations: 3.5 kB / 0.4969 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.02624, allocations: 2.672 kB / 0.4969 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.02666, allocations: 481.1 kB / 0.4974 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.02677, allocations: 87.53 kB / 0.4974 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.02681, allocations: 11.75 kB / 0.4975 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.02693, allocations: 10 kB / 0.4975 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.02697, allocations: 28.45 kB / 0.4975 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.027, allocations: 15.3 kB / 0.4975 GB, free: 10.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.0272, allocations: 263.3 kB / 0.4978 GB, free: 10.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0272, allocations: 0 / 0.4978 GB, free: 10.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004191/0.02762, allocations: 179.3 kB / 0.4979 GB, free: 10.7 MB / 426.7 MB 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.0003404/0.02796, allocations: 203.2 kB / 0.4981 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.0282, allocations: 164 kB / 0.4983 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02821, allocations: 0 / 0.4983 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.02832, allocations: 100.8 kB / 0.4984 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.02907, allocations: 256.6 kB / 0.4986 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.03042, allocations: 0.9208 MB / 0.4995 GB, free: 9.238 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.03052, allocations: 128.1 kB / 0.4996 GB, free: 9.121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.03076, allocations: 84.16 kB / 0.4997 GB, free: 9.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.03118, allocations: 273.9 kB / 0.5 GB, free: 8.836 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03118, allocations: 0 / 0.5 GB, free: 8.836 MB / 426.7 MB Notification: Performance of Templates: time 0.01322/0.0444, allocations: 10.84 MB / 0.5106 GB, free: 15.47 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.925395628903061]