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.001281/0.001281, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001129/0.001129, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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.077/1.077, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.6773/0.6773, allocations: 114.9 MB / 375.7 MB, free: 7.641 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 2.083e-06/2.083e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.024e-05, allocations: 4.984 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.00792/0.00795, allocations: 8.727 MB / 490.3 MB, free: 6.004 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004429/0.01238, allocations: 3.262 MB / 493.5 MB, free: 3.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000426/0.0128, allocations: 36.38 kB / 493.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.01329, allocations: 193.2 kB / 493.7 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.01434, allocations: 0.662 MB / 494.4 MB, free: 3.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009532/0.01529, allocations: 0.6383 MB / 495 MB, free: 2.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.01672, allocations: 1.605 MB / 496.6 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.01711, allocations: 395.3 kB / 497 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009157/0.01803, allocations: 0.7266 MB / 497.8 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.01844, allocations: 405.7 kB / 498.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.01851, allocations: 46.16 kB / 498.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.01895, allocations: 271.7 kB / 498.5 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.01906, allocations: 159.5 kB / 498.6 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.01925, allocations: 211.3 kB / 498.8 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.02003, allocations: 0.6296 MB / 499.5 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.02003, allocations: 1.219 kB / 499.5 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02003, allocations: 0 / 499.5 MB, free: 1.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.02004, allocations: 0 / 499.5 MB, free: 1.035 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.0009612/0.021, allocations: 0.9102 MB / 0.4886 GB, free: 348 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.02104, allocations: 10.09 kB / 0.4886 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.02126, allocations: 109.3 kB / 0.4888 GB, free: 292 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.02204, allocations: 0.537 MB / 0.4893 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.02207, allocations: 30.47 kB / 0.4893 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.02213, allocations: 39.47 kB / 0.4893 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.02268, allocations: 419 kB / 0.4897 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.02269, allocations: 0 / 0.4897 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.02272, allocations: 16.12 kB / 0.4898 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.02275, allocations: 15.22 kB / 0.4898 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.02305, allocations: 162.3 kB / 0.4899 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.02489, allocations: 1.6 MB / 0.4915 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.02524, allocations: 156.9 kB / 0.4916 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.974e-05/0.02534, allocations: 61.38 kB / 0.4917 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/0.02557, allocations: 75.14 kB / 0.4918 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.0256, allocations: 40.23 kB / 0.4918 GB, free: 14.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.0256, allocations: 0 / 0.4918 GB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004376/0.02603, allocations: 243.4 kB / 0.492 GB, free: 14.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.02606, allocations: 60 kB / 0.4921 GB, free: 14.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.02644, allocations: 417.9 kB / 0.4925 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.02647, allocations: 32.17 kB / 0.4925 GB, free: 13.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.02665, allocations: 319.1 kB / 0.4928 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.02671, allocations: 99.3 kB / 0.4929 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.02681, allocations: 79.44 kB / 0.493 GB, free: 13.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.02697, allocations: 0.523 MB / 0.4935 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.02706, allocations: 43.52 kB / 0.4936 GB, free: 12.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.02723, allocations: 215.2 kB / 0.4938 GB, free: 12.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.02747, allocations: 197.6 kB / 0.4939 GB, free: 12.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.02748, allocations: 1.344 kB / 0.494 GB, free: 12.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003918/0.02787, allocations: 267.3 kB / 0.4942 GB, free: 12.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.02788, allocations: 5.562 kB / 0.4942 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.02789, allocations: 2.938 kB / 0.4942 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.02791, allocations: 2.281 kB / 0.4942 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.0281, allocations: 81.09 kB / 0.4943 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.02811, allocations: 7.781 kB / 0.4943 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.02824, allocations: 29.48 kB / 0.4943 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.02827, allocations: 16.69 kB / 0.4943 GB, free: 12.49 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.0001173/0.02838, allocations: 170.9 kB / 0.4945 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.02845, allocations: 54.39 kB / 0.4946 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.02898, allocations: 323.4 kB / 0.4949 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.02899, allocations: 5.375 kB / 0.4949 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.029, allocations: 9 kB / 0.4949 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003446/0.02934, allocations: 455.5 kB / 0.4953 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.03051, allocations: 0.8456 MB / 0.4961 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.03052, allocations: 2.75 kB / 0.4961 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.03067, allocations: 54.14 kB / 0.4962 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.03068, allocations: 2.938 kB / 0.4962 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.0307, allocations: 11.16 kB / 0.4962 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.03071, allocations: 4.375 kB / 0.4962 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.03071, allocations: 2.562 kB / 0.4962 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.03127, allocations: 0.4982 MB / 0.4967 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.03141, allocations: 93.47 kB / 0.4968 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.03144, allocations: 8.094 kB / 0.4968 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.03158, allocations: 14.22 kB / 0.4968 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.03163, allocations: 24.86 kB / 0.4968 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.03166, allocations: 14.39 kB / 0.4969 GB, free: 10.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.03188, allocations: 281.2 kB / 0.4971 GB, free: 10.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03188, allocations: 0 / 0.4971 GB, free: 10.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003997/0.03228, allocations: 182 kB / 0.4973 GB, free: 10.42 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.0003328/0.03262, allocations: 202.9 kB / 0.4975 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.03291, allocations: 185.2 kB / 0.4977 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03291, allocations: 7.25 kB / 0.4977 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.03304, allocations: 105 kB / 0.4978 GB, free: 9.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007187/0.03376, allocations: 248.4 kB / 0.498 GB, free: 9.805 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.03513, allocations: 0.9114 MB / 0.4989 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.03524, allocations: 128 kB / 0.499 GB, free: 8.805 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.03545, allocations: 107.3 kB / 0.4991 GB, free: 8.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.03553, allocations: 49.7 kB / 0.4992 GB, free: 8.676 MB / 426.7 MB Notification: Performance of SimCode: time 8.31e-07/0.03553, allocations: 0 / 0.4992 GB, free: 8.676 MB / 426.7 MB Notification: Performance of Templates: time 0.01253/0.04806, allocations: 9.476 MB / 0.5084 GB, free: 0.6641 MB / 426.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: 4.222273404709995]