Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.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.002065/0.002065, allocations: 80.52 kB / 19.96 MB, free: 4.602 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.002234/0.002234, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.671/1.671, allocations: 177.1 MB / 203.5 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 178] 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 3.174/3.174, allocations: 389.5 MB / 0.6343 GB, free: 12.64 MB / 0.6042 GB " [Timeout remaining time 176] 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.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.379e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.06526/0.06529, allocations: 34.28 MB / 1.035 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.6515/0.7168, allocations: 131.1 MB / 1.163 GB, free: 13.59 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.719, allocations: 68.81 kB / 1.163 GB, free: 13.56 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.005789/0.7248, allocations: 1.635 MB / 1.164 GB, free: 12.88 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.007602/0.7324, allocations: 2.224 MB / 1.166 GB, free: 11.62 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.00512/0.7375, allocations: 1.635 MB / 1.168 GB, free: 10.83 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.01365/0.7511, allocations: 6.973 MB / 1.175 GB, free: 8.25 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.7533, allocations: 0.8869 MB / 1.176 GB, free: 7.785 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007501/0.7608, allocations: 2.424 MB / 1.178 GB, free: 6.773 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.7634, allocations: 0.8568 MB / 1.179 GB, free: 6.484 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0004232/0.7638, allocations: 109.8 kB / 1.179 GB, free: 6.484 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.7667, allocations: 0.6918 MB / 1.18 GB, free: 6.277 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0008666/0.7676, allocations: 0.5225 MB / 1.18 GB, free: 6 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.7689, allocations: 0.5288 MB / 1.181 GB, free: 5.777 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.005137/0.774, allocations: 2.435 MB / 1.183 GB, free: 4.902 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.774, allocations: 0 / 1.183 GB, free: 4.902 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.834e-06/0.774, allocations: 0 / 1.183 GB, free: 4.902 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.666e-05/0.7741, allocations: 0 / 1.183 GB, free: 4.902 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.004764/0.7789, allocations: 1.972 MB / 1.185 GB, free: 3.578 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.7789, allocations: 13.25 kB / 1.185 GB, free: 3.578 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.7809, allocations: 363.1 kB / 1.185 GB, free: 3.465 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004913/0.7858, allocations: 2.23 MB / 1.188 GB, free: 2.285 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.92e-05/0.7859, allocations: 66.67 kB / 1.188 GB, free: 2.254 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.786, allocations: 79.98 kB / 1.188 GB, free: 2.227 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.788, allocations: 0.9418 MB / 1.189 GB, free: 1.719 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.788, allocations: 5.125 kB / 1.189 GB, free: 1.715 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.103e-05/0.7881, allocations: 30.88 kB / 1.189 GB, free: 1.691 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/0.7881, allocations: 22.41 kB / 1.189 GB, free: 1.688 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.7898, allocations: 0.6505 MB / 1.189 GB, free: 1.469 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006192/0.796, allocations: 2.969 MB / 1.192 GB, free: 15.56 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.7974, allocations: 468.9 kB / 1.193 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005845/0.798, allocations: 228.2 kB / 1.193 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002773/0.8008, allocations: 0.9185 MB / 1.194 GB, free: 14.78 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.8008, allocations: 41.98 kB / 1.194 GB, free: 14.73 MB / 1.042 GB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.8008, allocations: 0 / 1.194 GB, free: 14.73 MB / 1.042 GB Notification: Performance of matching and sorting (n=40): time 0.002083/0.8029, allocations: 0.7419 MB / 1.195 GB, free: 14.45 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.8029, allocations: 56.58 kB / 1.195 GB, free: 14.39 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.8049, allocations: 1.368 MB / 1.196 GB, free: 13.86 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.805, allocations: 37.83 kB / 1.196 GB, free: 13.82 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007345/0.8057, allocations: 0.7139 MB / 1.197 GB, free: 13.25 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.8059, allocations: 156.8 kB / 1.197 GB, free: 13.12 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.8062, allocations: 132.4 kB / 1.197 GB, free: 13.06 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.8063, allocations: 334.3 kB / 1.197 GB, free: 12.74 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006232/0.807, allocations: 223.6 kB / 1.197 GB, free: 12.68 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009503/0.8079, allocations: 0.614 MB / 1.198 GB, free: 12.13 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.8093, allocations: 0.6706 MB / 1.199 GB, free: 11.67 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.8093, allocations: 2.781 kB / 1.199 GB, free: 11.67 MB / 1.042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002272/0.8116, allocations: 0.8186 MB / 1.2 GB, free: 11.26 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.8116, allocations: 16.55 kB / 1.2 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.8116, allocations: 9.312 kB / 1.2 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.8117, allocations: 8.75 kB / 1.2 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.8123, allocations: 158.7 kB / 1.2 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.8123, allocations: 12.28 kB / 1.2 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.8134, allocations: 101.4 kB / 1.2 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/0.8135, allocations: 35.3 kB / 1.2 GB, free: 11.14 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001239/0.8147, allocations: 0.5499 MB / 1.2 GB, free: 10.81 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008853/0.8156, allocations: 0.6001 MB / 1.201 GB, free: 10.22 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001299/0.8169, allocations: 0.6676 MB / 1.202 GB, free: 9.703 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.8169, allocations: 3.062 kB / 1.202 GB, free: 9.703 MB / 1.042 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.001892/0.8188, allocations: 0.7977 MB / 1.202 GB, free: 9.297 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.8188, allocations: 8.625 kB / 1.202 GB, free: 9.297 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8188, allocations: 11.5 kB / 1.202 GB, free: 9.293 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8188, allocations: 14.53 kB / 1.202 GB, free: 9.289 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.8194, allocations: 161.1 kB / 1.203 GB, free: 9.25 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.8194, allocations: 8.469 kB / 1.203 GB, free: 9.25 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.8204, allocations: 84.91 kB / 1.203 GB, free: 9.207 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.8205, allocations: 37.11 kB / 1.203 GB, free: 9.195 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (77): * Single equations (assignments): 76 * Array equations: 1 * 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.0003232/0.8208, allocations: 226.7 kB / 1.203 GB, free: 8.98 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.8211, allocations: 142.1 kB / 1.203 GB, free: 8.902 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.8231, allocations: 0.7522 MB / 1.204 GB, free: 8.492 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.8231, allocations: 3.875 kB / 1.204 GB, free: 8.492 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8231, allocations: 0 / 1.204 GB, free: 8.492 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.8245, allocations: 0.76 MB / 1.205 GB, free: 7.922 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.8282, allocations: 1.52 MB / 1.206 GB, free: 6.922 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.8282, allocations: 5.094 kB / 1.206 GB, free: 6.922 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/0.8287, allocations: 116.6 kB / 1.206 GB, free: 6.883 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.8288, allocations: 2.469 kB / 1.206 GB, free: 6.883 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.8288, allocations: 9.125 kB / 1.206 GB, free: 6.879 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.8288, allocations: 6.672 kB / 1.206 GB, free: 6.875 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.8288, allocations: 6.781 kB / 1.206 GB, free: 6.871 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.8312, allocations: 1.047 MB / 1.207 GB, free: 6.258 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.8319, allocations: 208.9 kB / 1.207 GB, free: 6.105 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.8321, allocations: 13.72 kB / 1.207 GB, free: 6.098 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/0.8327, allocations: 40.08 kB / 1.207 GB, free: 6.078 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.8328, allocations: 32.58 kB / 1.207 GB, free: 6.059 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.8328, allocations: 26.09 kB / 1.208 GB, free: 6.047 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001453/0.8343, allocations: 0.9386 MB / 1.208 GB, free: 5.531 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8343, allocations: 0 / 1.208 GB, free: 5.531 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001911/0.8362, allocations: 0.6029 MB / 1.209 GB, free: 5.402 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (pum.vol.dynBal.U,pum.motSpe.y,hIn.h_out,hOut.h_out) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007729/0.837, allocations: 344.2 kB / 1.209 GB, free: 5.203 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.8392, allocations: 0.8654 MB / 1.21 GB, free: 4.824 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8392, allocations: 0 / 1.21 GB, free: 4.824 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006538/0.8399, allocations: 274.8 kB / 1.21 GB, free: 4.703 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/0.843, allocations: 0.7672 MB / 1.211 GB, free: 4.324 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.8476, allocations: 2.448 MB / 1.214 GB, free: 2.496 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008935/0.8485, allocations: 0.687 MB / 1.214 GB, free: 1.781 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001437/0.85, allocations: 356.2 kB / 1.215 GB, free: 1.43 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.8504, allocations: 124.5 kB / 1.215 GB, free: 1.309 MB / 1.042 GB Notification: Performance of SimCode: time 1.202e-06/0.8504, allocations: 3.938 kB / 1.215 GB, free: 1.305 MB / 1.042 GB Notification: Performance of Templates: time 0.05397/0.9043, allocations: 29.24 MB / 1.243 GB, free: 4.809 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile [Timeout 300] (rm -f Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & ./Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.736384009942412]