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.001326/0.001326, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0009415/0.0009415, allocations: 169 kB / 24.25 MB, free: 304 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.982/0.982, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.6388/0.6388, allocations: 115 MB / 376 MB, free: 7.66 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.773e-06/1.773e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.761e-05, allocations: 5.922 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02518/0.0252, allocations: 24.07 MB / 0.4938 GB, free: 11.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.03537, allocations: 5.172 MB / 0.4988 GB, free: 8.512 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.03697, allocations: 35.59 kB / 0.4988 GB, free: 8.492 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.03819, allocations: 286.4 kB / 0.4991 GB, free: 8.324 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.04179, allocations: 0.8463 MB / 0.4999 GB, free: 7.832 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.04486, allocations: 0.8011 MB / 0.5007 GB, free: 7.418 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.04829, allocations: 1.627 MB / 0.5023 GB, free: 6.551 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007504/0.04904, allocations: 397.5 kB / 0.5027 GB, free: 6.203 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.05145, allocations: 0.944 MB / 0.5036 GB, free: 5.445 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007802/0.05223, allocations: 404.1 kB / 0.504 GB, free: 5.133 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.05233, allocations: 44 kB / 0.504 GB, free: 5.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.05357, allocations: 423.4 kB / 0.5044 GB, free: 4.738 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.05374, allocations: 151.7 kB / 0.5046 GB, free: 4.613 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.05403, allocations: 220.8 kB / 0.5048 GB, free: 4.418 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.05552, allocations: 0.7285 MB / 0.5055 GB, free: 3.824 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.05553, allocations: 0 / 0.5055 GB, free: 3.824 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.05553, allocations: 3.938 kB / 0.5055 GB, free: 3.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.05555, allocations: 0 / 0.5055 GB, free: 3.82 MB / 426.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.001387/0.05694, allocations: 0.9209 MB / 0.5064 GB, free: 2.922 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.05698, allocations: 8.641 kB / 0.5064 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/0.05729, allocations: 111.6 kB / 0.5065 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.05823, allocations: 0.5294 MB / 0.507 GB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.05826, allocations: 29.56 kB / 0.5071 GB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.05832, allocations: 46.55 kB / 0.5071 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.05887, allocations: 415.1 kB / 0.5075 GB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.05889, allocations: 0 / 0.5075 GB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.05892, allocations: 19.98 kB / 0.5075 GB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.05895, allocations: 8.656 kB / 0.5075 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.05926, allocations: 165.1 kB / 0.5077 GB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.06125, allocations: 1.6 MB / 0.5093 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.06165, allocations: 166.2 kB / 0.5094 GB, free: 92 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.06174, allocations: 62.45 kB / 0.5095 GB, free: 36 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003492/0.06209, allocations: 97.33 kB / 0.5096 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.06214, allocations: 37.39 kB / 0.5096 GB, free: 15.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.06214, allocations: 7.438 kB / 0.5096 GB, free: 15.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004543/0.0626, allocations: 244.8 kB / 0.5098 GB, free: 15.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.06264, allocations: 59.34 kB / 0.5099 GB, free: 15.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.06302, allocations: 414.7 kB / 0.5103 GB, free: 15.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.06305, allocations: 29.7 kB / 0.5103 GB, free: 15.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.06322, allocations: 327.2 kB / 0.5106 GB, free: 14.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.06328, allocations: 91.19 kB / 0.5107 GB, free: 14.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.06337, allocations: 79.62 kB / 0.5108 GB, free: 14.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.06364, allocations: 0.5235 MB / 0.5113 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.06374, allocations: 45.5 kB / 0.5114 GB, free: 14.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.06391, allocations: 211.8 kB / 0.5116 GB, free: 13.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.06413, allocations: 193 kB / 0.5117 GB, free: 13.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.06413, allocations: 0 / 0.5117 GB, free: 13.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003421/0.06447, allocations: 269.2 kB / 0.512 GB, free: 13.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.06449, allocations: 4 kB / 0.512 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.0645, allocations: 4 kB / 0.512 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.06451, allocations: 4 kB / 0.512 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.06469, allocations: 75.89 kB / 0.5121 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.0647, allocations: 11.88 kB / 0.5121 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.06484, allocations: 27.73 kB / 0.5121 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.06487, allocations: 19.98 kB / 0.5121 GB, free: 13.17 MB / 442.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.000133/0.065, allocations: 176.7 kB / 0.5123 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.06508, allocations: 51.8 kB / 0.5124 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006212/0.0657, allocations: 347.6 kB / 0.5127 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.06571, allocations: 7.984 kB / 0.5127 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.06572, allocations: 3.938 kB / 0.5127 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003149/0.06603, allocations: 448.2 kB / 0.5131 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.06708, allocations: 0.8504 MB / 0.514 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.06708, allocations: 7.922 kB / 0.514 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.06722, allocations: 51.92 kB / 0.514 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.06723, allocations: 7.938 kB / 0.514 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.06725, allocations: 11.98 kB / 0.514 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.06726, allocations: 4.188 kB / 0.514 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.06726, allocations: 7.938 kB / 0.514 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.0678, allocations: 0.517 MB / 0.5146 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.06792, allocations: 95.47 kB / 0.5146 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.06797, allocations: 8 kB / 0.5147 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.06811, allocations: 15.92 kB / 0.5147 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.06815, allocations: 27.95 kB / 0.5147 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.06817, allocations: 16 kB / 0.5147 GB, free: 10.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.06837, allocations: 275 kB / 0.515 GB, free: 10.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06837, allocations: 4 kB / 0.515 GB, free: 10.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005825/0.06896, allocations: 211.5 kB / 0.5152 GB, free: 9.871 MB / 442.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 (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.0004342/0.06939, allocations: 270.8 kB / 0.5154 GB, free: 9.594 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.06971, allocations: 188.4 kB / 0.5156 GB, free: 9.406 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.06971, allocations: 448 / 0.5156 GB, free: 9.406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.06985, allocations: 119.5 kB / 0.5157 GB, free: 9.285 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/0.07056, allocations: 260 kB / 0.516 GB, free: 9.047 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.07227, allocations: 0.9147 MB / 0.5169 GB, free: 8.074 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.205e-05/0.07235, allocations: 133.7 kB / 0.517 GB, free: 7.926 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.07259, allocations: 96.25 kB / 0.5171 GB, free: 7.828 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.07267, allocations: 56.47 kB / 0.5171 GB, free: 7.773 MB / 442.7 MB Notification: Performance of SimCode: time 1.342e-06/0.07267, allocations: 3.938 kB / 0.5171 GB, free: 7.77 MB / 442.7 MB Notification: Performance of Templates: time 0.01432/0.08699, allocations: 10.67 MB / 0.5276 GB, free: 13.36 MB / 458.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.8195868039038032]