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.0009968/0.0009968, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001041/0.001041, allocations: 169 kB / 24.14 MB, free: 352 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.9777/0.9777, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.7175/0.7175, allocations: 115 MB / 376 MB, free: 7.445 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.203e-06/1.203e-06, allocations: 0 / 428.8 MB, free: 2.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.684e-05, allocations: 6.25 kB / 428.8 MB, free: 2.699 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.208/0.208, allocations: 20.47 MB / 449.2 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01824/0.2262, allocations: 11.39 MB / 460.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.2293, allocations: 137.9 kB / 460.8 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004147/0.2335, allocations: 1.626 MB / 462.4 MB, free: 14.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.2385, allocations: 2.37 MB / 464.8 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0055/0.244, allocations: 2.621 MB / 467.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008137/0.2522, allocations: 8.933 MB / 476.3 MB, free: 6.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.2545, allocations: 1.607 MB / 477.9 MB, free: 4.645 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.2579, allocations: 3.017 MB / 480.9 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.2593, allocations: 1.301 MB / 482.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.2596, allocations: 188.6 kB / 482.4 MB, free: 416 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.2613, allocations: 1.12 MB / 483.6 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.2618, allocations: 0.7434 MB / 484.3 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.2629, allocations: 0.8578 MB / 485.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00283/0.2657, allocations: 2.507 MB / 487.7 MB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2657, allocations: 1.469 kB / 487.7 MB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2657, allocations: 0 / 487.7 MB, free: 11.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.172e-05/0.2658, allocations: 7.922 kB / 487.7 MB, free: 11.17 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.003145/0.2689, allocations: 2.94 MB / 490.6 MB, free: 8.184 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.269, allocations: 14.94 kB / 490.6 MB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.2701, allocations: 443.9 kB / 491.1 MB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.2725, allocations: 1.942 MB / 493 MB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.2726, allocations: 102.5 kB / 493.1 MB, free: 5.625 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.2727, allocations: 151.9 kB / 493.2 MB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.2742, allocations: 1.216 MB / 494.5 MB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.2742, allocations: 5.906 kB / 494.5 MB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.2743, allocations: 56 kB / 494.5 MB, free: 4.059 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.2743, allocations: 39.64 kB / 494.6 MB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.2748, allocations: 371.8 kB / 494.9 MB, free: 3.645 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.004117/0.2789, allocations: 4.374 MB / 499.3 MB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.2796, allocations: 467.7 kB / 499.8 MB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.2798, allocations: 174.5 kB / 499.9 MB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/0.2815, allocations: 1.157 MB / 0.4893 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009638/0.2824, allocations: 494.5 kB / 0.4898 GB, free: 12.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 1.593e-06/0.2824, allocations: 0 / 0.4898 GB, free: 12.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.0007319/0.2832, allocations: 493.4 kB / 0.4903 GB, free: 12.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2832, allocations: 115.2 kB / 0.4904 GB, free: 12.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.2844, allocations: 1.697 MB / 0.492 GB, free: 10.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.2845, allocations: 45.7 kB / 0.4921 GB, free: 10.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.2848, allocations: 0.7438 MB / 0.4928 GB, free: 9.641 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.285, allocations: 226.1 kB / 0.493 GB, free: 9.418 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.2851, allocations: 218.7 kB / 0.4932 GB, free: 9.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.2852, allocations: 349.8 kB / 0.4936 GB, free: 8.848 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.2855, allocations: 173.4 kB / 0.4937 GB, free: 8.672 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.286, allocations: 0.8701 MB / 0.4946 GB, free: 7.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.2866, allocations: 0.8236 MB / 0.4954 GB, free: 6.484 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.2866, allocations: 4 kB / 0.4954 GB, free: 6.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0008098/0.2875, allocations: 0.8083 MB / 0.4962 GB, free: 5.652 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.2878, allocations: 45.72 kB / 0.4962 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.2878, allocations: 15.94 kB / 0.4962 GB, free: 5.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2878, allocations: 20 kB / 0.4963 GB, free: 5.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.2883, allocations: 277.3 kB / 0.4965 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.2883, allocations: 28.7 kB / 0.4966 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.2888, allocations: 151 kB / 0.4967 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.2889, allocations: 47.98 kB / 0.4967 GB, free: 5.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003913/0.2892, allocations: 266.1 kB / 0.497 GB, free: 4.801 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000479/0.2897, allocations: 0.8623 MB / 0.4978 GB, free: 3.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006512/0.2904, allocations: 0.8255 MB / 0.4986 GB, free: 2.633 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.121e-06/0.2904, allocations: 4 kB / 0.4987 GB, free: 2.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.0008419/0.2912, allocations: 0.815 MB / 0.4994 GB, free: 1.793 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.2913, allocations: 39.73 kB / 0.4995 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.2913, allocations: 17.36 kB / 0.4995 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2913, allocations: 27.92 kB / 0.4995 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.2918, allocations: 267.6 kB / 0.4998 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.2918, allocations: 35.86 kB / 0.4998 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.2923, allocations: 127.4 kB / 0.4999 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.2923, allocations: 55.92 kB / 0.5 GB, free: 1.23 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.0001563/0.2925, allocations: 255.8 kB / 0.5002 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.2926, allocations: 135.8 kB / 0.5004 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006903/0.2933, allocations: 0.5755 MB / 0.5009 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.2933, allocations: 13.86 kB / 0.5009 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2933, allocations: 4 kB / 0.5009 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002985/0.2936, allocations: 293.3 kB / 0.5012 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.2956, allocations: 1.787 MB / 0.503 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2956, allocations: 7.938 kB / 0.503 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.296, allocations: 147.8 kB / 0.5031 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.2961, allocations: 41.05 kB / 0.5032 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.2961, allocations: 15.98 kB / 0.5032 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006073/0.2967, allocations: 1.205 MB / 0.5044 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2967, allocations: 2.391 kB / 0.5044 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.2974, allocations: 0.7614 MB / 0.5051 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.2977, allocations: 250.3 kB / 0.5053 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2979, allocations: 16.5 kB / 0.5054 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.2983, allocations: 50.23 kB / 0.5054 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.2983, allocations: 61.17 kB / 0.5055 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.2984, allocations: 27.97 kB / 0.5055 GB, free: 11.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007002/0.2991, allocations: 0.8747 MB / 0.5063 GB, free: 10.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2991, allocations: 0 / 0.5063 GB, free: 10.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001433/0.3005, allocations: 0.9433 MB / 0.5073 GB, free: 9.562 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.0003932/0.3009, allocations: 255.2 kB / 0.5075 GB, free: 9.305 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009884/0.3019, allocations: 1.014 MB / 0.5085 GB, free: 8.258 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-05/0.3019, allocations: 24.5 kB / 0.5085 GB, free: 8.234 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.3023, allocations: 329.7 kB / 0.5088 GB, free: 7.895 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.3047, allocations: 1.138 MB / 0.5099 GB, free: 6.859 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.3082, allocations: 3.228 MB / 0.5131 GB, free: 3.562 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3085, allocations: 414.9 kB / 0.5135 GB, free: 3.129 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001022/0.3095, allocations: 425.7 kB / 0.5139 GB, free: 2.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/0.311, allocations: 0.8062 MB / 0.5147 GB, free: 1.926 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.311, allocations: 0 / 0.5147 GB, free: 1.926 MB / 458.7 MB Notification: Performance of Templates: time 0.04916/0.3601, allocations: 43.52 MB / 0.5572 GB, free: 7.484 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.630997170694172]