Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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.0009195/0.0009195, 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.00194/0.00194, allocations: 169 kB / 24.14 MB, free: 356 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.973/0.973, allocations: 177.1 MB / 204.5 MB, free: 5.09 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.6376/0.6376, allocations: 115 MB / 376 MB, free: 7.406 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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.44e-06, allocations: 3.938 kB / 428.8 MB, free: 2.738 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.589e-05, allocations: 2.312 kB / 428.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.01334/0.01336, allocations: 17.02 MB / 445.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.222/0.2354, allocations: 11.13 MB / 456.9 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002848/0.2382, allocations: 130.1 kB / 457.1 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004257/0.2425, allocations: 1.619 MB / 458.7 MB, free: 15.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.2476, allocations: 2.207 MB / 460.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005855/0.2535, allocations: 2.584 MB / 463.5 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009093/0.2626, allocations: 8.194 MB / 471.7 MB, free: 9.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.2653, allocations: 1.4 MB / 473.1 MB, free: 8.207 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.2696, allocations: 2.687 MB / 475.7 MB, free: 5.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.2712, allocations: 1.183 MB / 476.9 MB, free: 4.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003977/0.2716, allocations: 164 kB / 477.1 MB, free: 4.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.2736, allocations: 1.16 MB / 478.2 MB, free: 3.293 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004522/0.2741, allocations: 0.6958 MB / 478.9 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.2751, allocations: 0.7725 MB / 479.7 MB, free: 1.879 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.279, allocations: 2.417 MB / 482.1 MB, free: 15.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.279, allocations: 0 / 482.1 MB, free: 15.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.279, allocations: 8.719 kB / 482.1 MB, free: 15.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.501e-05/0.2791, allocations: 0 / 482.1 MB, free: 15.59 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003806/0.2829, allocations: 2.825 MB / 485 MB, free: 12.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2829, allocations: 10.28 kB / 485 MB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.2851, allocations: 0.7405 MB / 485.7 MB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.2879, allocations: 1.913 MB / 487.6 MB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.288, allocations: 97.34 kB / 487.7 MB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.2882, allocations: 128 kB / 487.9 MB, free: 10 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.2896, allocations: 1.272 MB / 489.1 MB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.2897, allocations: 4 kB / 489.1 MB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/0.2897, allocations: 44.56 kB / 489.2 MB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.2898, allocations: 34.48 kB / 489.2 MB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.2905, allocations: 459.3 kB / 489.7 MB, free: 8.113 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.005574/0.2961, allocations: 4.666 MB / 494.3 MB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009268/0.297, allocations: 0.5918 MB / 494.9 MB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.2973, allocations: 210.7 kB / 495.1 MB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002136/0.2994, allocations: 1.22 MB / 496.3 MB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004626/0.2999, allocations: 449.2 kB / 496.8 MB, free: 1.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 2.315e-06/0.2999, allocations: 0 / 496.8 MB, free: 1.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.001036/0.3009, allocations: 0.5971 MB / 497.4 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.3009, allocations: 55.91 kB / 497.4 MB, free: 440 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.3023, allocations: 1.736 MB / 499.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.3024, allocations: 41.7 kB / 499.2 MB, free: 14.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.3028, allocations: 0.7227 MB / 499.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.3029, allocations: 217.6 kB / 0.4884 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.3031, allocations: 231.1 kB / 0.4886 GB, free: 13.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3033, allocations: 349.9 kB / 0.489 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.3036, allocations: 226.6 kB / 0.4892 GB, free: 13.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/0.3045, allocations: 0.9464 MB / 0.4901 GB, free: 12.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.3053, allocations: 0.9123 MB / 0.491 GB, free: 10.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.3053, allocations: 4 kB / 0.491 GB, free: 10.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001076/0.3064, allocations: 0.8953 MB / 0.4919 GB, free: 10.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.3065, allocations: 37.7 kB / 0.4919 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.3065, allocations: 20.06 kB / 0.4919 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3065, allocations: 27.88 kB / 0.492 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/0.3073, allocations: 339.5 kB / 0.4923 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.3073, allocations: 32.72 kB / 0.4923 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.3081, allocations: 207 kB / 0.4925 GB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.3082, allocations: 55.97 kB / 0.4926 GB, free: 9.301 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005462/0.3087, allocations: 327 kB / 0.4929 GB, free: 8.969 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005948/0.3093, allocations: 0.9417 MB / 0.4938 GB, free: 7.742 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007952/0.3101, allocations: 0.8986 MB / 0.4947 GB, free: 6.629 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.292e-06/0.3101, allocations: 8 kB / 0.4947 GB, free: 6.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.001332/0.3114, allocations: 0.9056 MB / 0.4956 GB, free: 5.695 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.3115, allocations: 41.7 kB / 0.4956 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3115, allocations: 12 kB / 0.4956 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3115, allocations: 24.69 kB / 0.4956 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.3122, allocations: 341.3 kB / 0.496 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.3122, allocations: 40.58 kB / 0.496 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007526/0.313, allocations: 171.4 kB / 0.4962 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.3131, allocations: 59.97 kB / 0.4962 GB, free: 5.016 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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.0002274/0.3133, allocations: 261.9 kB / 0.4965 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.3135, allocations: 127.8 kB / 0.4966 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.3145, allocations: 0.7255 MB / 0.4973 GB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.3145, allocations: 8 kB / 0.4973 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3145, allocations: 0 / 0.4973 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005024/0.315, allocations: 0.5161 MB / 0.4978 GB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.3171, allocations: 1.4 MB / 0.4992 GB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3171, allocations: 0.875 kB / 0.4992 GB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.3176, allocations: 199.7 kB / 0.4994 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.3178, allocations: 24.84 kB / 0.4994 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.3178, allocations: 19.97 kB / 0.4994 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007364/0.3186, allocations: 1.214 MB / 0.5006 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3186, allocations: 32 / 0.5006 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/0.3195, allocations: 0.8481 MB / 0.5014 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/0.3199, allocations: 250.3 kB / 0.5017 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.3201, allocations: 14.31 kB / 0.5017 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.3206, allocations: 96.45 kB / 0.5018 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.3207, allocations: 56.48 kB / 0.5018 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.3208, allocations: 23.97 kB / 0.5019 GB, free: 15.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001046/0.3218, allocations: 0.8869 MB / 0.5027 GB, free: 14.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3218, allocations: 0 / 0.5027 GB, free: 14.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001804/0.3236, allocations: 0.9082 MB / 0.5036 GB, free: 13.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (65): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001384/0.325, allocations: 0.5875 MB / 0.5042 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.3266, allocations: 1.197 MB / 0.5054 GB, free: 11.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-05/0.3267, allocations: 32.38 kB / 0.5054 GB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004991/0.3272, allocations: 374.5 kB / 0.5057 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.3293, allocations: 1.04 MB / 0.5068 GB, free: 10.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.3338, allocations: 3.149 MB / 0.5098 GB, free: 7.121 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3341, allocations: 410.5 kB / 0.5102 GB, free: 6.695 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00152/0.3356, allocations: 476.5 kB / 0.5107 GB, free: 6.281 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/0.3371, allocations: 0.7608 MB / 0.5114 GB, free: 5.508 MB / 458.7 MB Notification: Performance of SimCode: time 1.954e-06/0.3371, allocations: 0 / 0.5114 GB, free: 5.508 MB / 458.7 MB Notification: Performance of Templates: time 0.05344/0.3906, allocations: 42.62 MB / 0.553 GB, free: 11.82 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.429047354962677]