Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.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.001339/0.001339, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001653/0.001653, allocations: 169 kB / 24.14 MB, free: 360 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.9805/0.9805, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.5914/0.5914, allocations: 115 MB / 376 MB, free: 7.453 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.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 428.7 MB, free: 2.758 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.394e-05, allocations: 2.312 kB / 428.7 MB, free: 2.754 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.1807/0.1807, allocations: 20.42 MB / 449.2 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.1953, allocations: 11.38 MB / 460.5 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.1972, allocations: 140.2 kB / 460.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.2, allocations: 1.653 MB / 462.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.203, allocations: 2.388 MB / 464.7 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.2068, allocations: 2.665 MB / 467.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006074/0.2129, allocations: 8.926 MB / 476.3 MB, free: 6.031 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.2144, allocations: 1.613 MB / 477.9 MB, free: 4.438 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.2171, allocations: 3.088 MB / 481 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.2181, allocations: 1.316 MB / 482.3 MB, free: 308 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.2183, allocations: 188.8 kB / 482.5 MB, free: 120 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.2196, allocations: 1.086 MB / 483.6 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.22, allocations: 0.7299 MB / 484.3 MB, free: 14.35 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006964/0.2207, allocations: 0.8572 MB / 485.2 MB, free: 13.49 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.2229, allocations: 2.511 MB / 487.7 MB, free: 10.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2229, allocations: 0 / 487.7 MB, free: 10.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2229, allocations: 0 / 487.7 MB, free: 10.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.923e-05/0.2229, allocations: 2 kB / 487.7 MB, free: 10.97 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002876/0.2258, allocations: 2.946 MB / 490.6 MB, free: 7.977 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2258, allocations: 9.156 kB / 490.7 MB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.2267, allocations: 445.4 kB / 491.1 MB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.2292, allocations: 1.944 MB / 493 MB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/0.2292, allocations: 107.7 kB / 493.1 MB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.2294, allocations: 151.8 kB / 493.3 MB, free: 5.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.2304, allocations: 1.224 MB / 494.5 MB, free: 3.902 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.2305, allocations: 0 / 494.5 MB, free: 3.902 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.2305, allocations: 48.5 kB / 494.6 MB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.2305, allocations: 36 kB / 494.6 MB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/0.2313, allocations: 379.7 kB / 495 MB, free: 3.43 MB / 426.7 MB 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.003796/0.2351, allocations: 4.375 MB / 499.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005756/0.2357, allocations: 476.8 kB / 499.8 MB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.2359, allocations: 161.7 kB / 500 MB, free: 14.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/0.2375, allocations: 1.162 MB / 0.4894 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.2378, allocations: 486.8 kB / 0.4898 GB, free: 12.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 1.563e-06/0.2378, allocations: 1.781 kB / 0.4898 GB, free: 12.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.000942/0.2388, allocations: 491 kB / 0.4903 GB, free: 12.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2388, allocations: 115.3 kB / 0.4904 GB, free: 11.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.2399, allocations: 1.701 MB / 0.4921 GB, free: 10.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.24, allocations: 45.7 kB / 0.4921 GB, free: 10.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.2403, allocations: 0.736 MB / 0.4928 GB, free: 9.449 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2404, allocations: 226.1 kB / 0.4931 GB, free: 9.227 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.2406, allocations: 230.7 kB / 0.4933 GB, free: 8.992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.2407, allocations: 349.8 kB / 0.4936 GB, free: 8.645 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.2409, allocations: 168.1 kB / 0.4938 GB, free: 8.473 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.2414, allocations: 0.8661 MB / 0.4946 GB, free: 7.324 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006224/0.242, allocations: 0.8272 MB / 0.4954 GB, free: 6.293 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.242, allocations: 4 kB / 0.4954 GB, free: 6.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0007616/0.2428, allocations: 0.8071 MB / 0.4962 GB, free: 5.461 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.2428, allocations: 39.89 kB / 0.4963 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2428, allocations: 19.94 kB / 0.4963 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.2429, allocations: 23.94 kB / 0.4963 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.2433, allocations: 251.6 kB / 0.4965 GB, free: 5.129 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.2433, allocations: 35.86 kB / 0.4966 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.2438, allocations: 151.3 kB / 0.4967 GB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.2441, allocations: 48.8 kB / 0.4968 GB, free: 4.898 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003839/0.2445, allocations: 274 kB / 0.497 GB, free: 4.617 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004523/0.2449, allocations: 0.8591 MB / 0.4979 GB, free: 3.484 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005925/0.2455, allocations: 0.8224 MB / 0.4987 GB, free: 2.457 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.2455, allocations: 12.72 kB / 0.4987 GB, free: 2.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.0008585/0.2464, allocations: 0.8102 MB / 0.4995 GB, free: 1.613 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2464, allocations: 38.64 kB / 0.4995 GB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.2464, allocations: 12 kB / 0.4995 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2465, allocations: 27.94 kB / 0.4995 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.2469, allocations: 259.5 kB / 0.4998 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.2469, allocations: 27.92 kB / 0.4998 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.2474, allocations: 133.1 kB / 0.4999 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.2475, allocations: 47.98 kB / 0.5 GB, free: 1.074 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 132 * Array equations: 1 * Algorithm blocks: 1 * 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.0001403/0.2476, allocations: 255.8 kB / 0.5002 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.2477, allocations: 135.8 kB / 0.5004 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/0.2484, allocations: 0.5865 MB / 0.5009 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.2484, allocations: 12 kB / 0.501 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2484, allocations: 0 / 0.501 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002842/0.2487, allocations: 289.4 kB / 0.5012 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.2503, allocations: 1.799 MB / 0.503 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.2503, allocations: 3.938 kB / 0.503 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.2506, allocations: 135.8 kB / 0.5031 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.2508, allocations: 33.05 kB / 0.5031 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.2508, allocations: 19.98 kB / 0.5032 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000786/0.2516, allocations: 1.205 MB / 0.5043 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2516, allocations: 4 kB / 0.5043 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.2522, allocations: 0.7536 MB / 0.5051 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.2525, allocations: 254.3 kB / 0.5053 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.2527, allocations: 13.69 kB / 0.5053 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.253, allocations: 53.38 kB / 0.5054 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.2531, allocations: 56.5 kB / 0.5054 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.2532, allocations: 27.97 kB / 0.5055 GB, free: 11.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006407/0.2538, allocations: 0.8747 MB / 0.5063 GB, free: 10.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2538, allocations: 0 / 0.5063 GB, free: 10.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001305/0.2551, allocations: 0.9471 MB / 0.5072 GB, free: 9.414 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003695/0.2555, allocations: 256.5 kB / 0.5075 GB, free: 9.156 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2565, allocations: 1.011 MB / 0.5085 GB, free: 8.113 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.049e-05/0.2565, allocations: 24.5 kB / 0.5085 GB, free: 8.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.2568, allocations: 325 kB / 0.5088 GB, free: 7.754 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.2588, allocations: 1.137 MB / 0.5099 GB, free: 6.723 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.262, allocations: 3.233 MB / 0.5131 GB, free: 3.422 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.2623, allocations: 414.9 kB / 0.5135 GB, free: 2.988 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008707/0.2632, allocations: 433.6 kB / 0.5139 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.2645, allocations: 0.7939 MB / 0.5147 GB, free: 1.789 MB / 458.7 MB Notification: Performance of SimCode: time 5.72e-07/0.2645, allocations: 0 / 0.5147 GB, free: 1.789 MB / 458.7 MB Notification: Performance of Templates: time 0.04209/0.3066, allocations: 43.51 MB / 0.5572 GB, free: 7.363 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.333864813204855]