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.001239/0.001239, 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.001439/0.001439, allocations: 173 kB / 24.15 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.9827/0.9827, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.6009/0.6009, allocations: 115 MB / 376 MB, free: 7.477 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 1.302e-06/1.302e-06, allocations: 0 / 428.7 MB, free: 2.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.461e-05, allocations: 2.312 kB / 428.7 MB, free: 2.766 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.01313/0.01315, allocations: 16.98 MB / 445.7 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1809/0.1941, allocations: 11.13 MB / 456.8 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.1961, allocations: 128.9 kB / 457 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.1991, allocations: 1.648 MB / 458.6 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.2023, allocations: 2.229 MB / 460.8 MB, free: 14.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.2062, allocations: 2.615 MB / 463.5 MB, free: 13.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00615/0.2124, allocations: 8.198 MB / 471.7 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.2138, allocations: 1.433 MB / 473.1 MB, free: 8.168 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/0.2166, allocations: 2.784 MB / 475.9 MB, free: 5.539 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.2177, allocations: 1.185 MB / 477.1 MB, free: 4.445 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.2179, allocations: 164 kB / 477.2 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.2191, allocations: 1.114 MB / 478.3 MB, free: 3.215 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.2195, allocations: 0.6962 MB / 479 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.22, allocations: 0.7726 MB / 479.8 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.2219, allocations: 2.428 MB / 482.2 MB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2219, allocations: 0 / 482.2 MB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2219, allocations: 0 / 482.2 MB, free: 15.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.2219, allocations: 1.188 kB / 482.2 MB, free: 15.51 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.002539/0.2245, allocations: 2.829 MB / 485.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.2245, allocations: 12.03 kB / 485.1 MB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.2263, allocations: 0.7372 MB / 485.8 MB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.2285, allocations: 1.916 MB / 487.7 MB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.2286, allocations: 94.22 kB / 487.8 MB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.2287, allocations: 128 kB / 487.9 MB, free: 9.918 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.23, allocations: 1.279 MB / 489.2 MB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.2301, allocations: 4.719 kB / 489.2 MB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.2301, allocations: 48 kB / 489.3 MB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.2302, allocations: 29.16 kB / 489.3 MB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.2309, allocations: 456.1 kB / 489.7 MB, free: 8.023 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.004856/0.2357, allocations: 4.663 MB / 494.4 MB, free: 3.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009329/0.2367, allocations: 0.6016 MB / 495 MB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.237, allocations: 202.7 kB / 495.2 MB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/0.2388, allocations: 1.219 MB / 496.4 MB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/0.2392, allocations: 454.3 kB / 496.9 MB, free: 1.004 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 1.543e-06/0.2392, allocations: 0 / 496.9 MB, free: 1.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008612/0.2401, allocations: 0.5892 MB / 497.5 MB, free: 424 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.2401, allocations: 59.91 kB / 497.5 MB, free: 352 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.2413, allocations: 1.736 MB / 499.3 MB, free: 14.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.2413, allocations: 45.7 kB / 499.3 MB, free: 14.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.2417, allocations: 0.7128 MB / 0.4883 GB, free: 14.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.2418, allocations: 217 kB / 0.4885 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.242, allocations: 232.5 kB / 0.4887 GB, free: 13.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.2421, allocations: 345.9 kB / 0.4891 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/0.2428, allocations: 235.8 kB / 0.4893 GB, free: 13.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.2434, allocations: 0.9417 MB / 0.4902 GB, free: 11.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.2442, allocations: 0.9082 MB / 0.4911 GB, free: 10.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.2442, allocations: 8 kB / 0.4911 GB, free: 10.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0009852/0.2451, allocations: 0.8997 MB / 0.492 GB, free: 9.934 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.2452, allocations: 45.62 kB / 0.492 GB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.2452, allocations: 16 kB / 0.492 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.2452, allocations: 27.94 kB / 0.4921 GB, free: 9.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.2459, allocations: 317.7 kB / 0.4924 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.2459, allocations: 27.92 kB / 0.4924 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/0.2466, allocations: 211 kB / 0.4926 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.2467, allocations: 52.64 kB / 0.4926 GB, free: 9.246 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004834/0.2472, allocations: 332.4 kB / 0.493 GB, free: 8.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000558/0.2477, allocations: 0.9425 MB / 0.4939 GB, free: 7.684 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000748/0.2485, allocations: 0.9003 MB / 0.4948 GB, free: 6.566 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.422e-06/0.2485, allocations: 4 kB / 0.4948 GB, free: 6.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.001226/0.2497, allocations: 0.9062 MB / 0.4956 GB, free: 5.637 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2497, allocations: 37.7 kB / 0.4957 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2497, allocations: 12 kB / 0.4957 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2498, allocations: 26.89 kB / 0.4957 GB, free: 5.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.2504, allocations: 323.5 kB / 0.496 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.2504, allocations: 40.58 kB / 0.4961 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.2511, allocations: 179.3 kB / 0.4962 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.2511, allocations: 55.97 kB / 0.4963 GB, free: 4.973 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.0001719/0.2513, allocations: 251.8 kB / 0.4965 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.2514, allocations: 135.8 kB / 0.4967 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009137/0.2524, allocations: 0.724 MB / 0.4974 GB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.2524, allocations: 8 kB / 0.4974 GB, free: 3.859 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2524, allocations: 0 / 0.4974 GB, free: 3.859 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004462/0.2528, allocations: 0.5133 MB / 0.4979 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.2544, allocations: 1.394 MB / 0.4992 GB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2544, allocations: 4 kB / 0.4992 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.2549, allocations: 183.8 kB / 0.4994 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.255, allocations: 29.91 kB / 0.4994 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.255, allocations: 15.98 kB / 0.4995 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005753/0.2556, allocations: 1.213 MB / 0.5006 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2556, allocations: 0 / 0.5006 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008858/0.2565, allocations: 0.8476 MB / 0.5015 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.2568, allocations: 254.3 kB / 0.5017 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.257, allocations: 12.81 kB / 0.5017 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.2575, allocations: 96.45 kB / 0.5018 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.2576, allocations: 58.12 kB / 0.5019 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.2576, allocations: 19.97 kB / 0.5019 GB, free: 15.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009144/0.2585, allocations: 0.8908 MB / 0.5028 GB, free: 14.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2585, allocations: 0 / 0.5028 GB, free: 14.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001327/0.2598, allocations: 0.9043 MB / 0.5036 GB, free: 13.23 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.001202/0.261, allocations: 0.5972 MB / 0.5042 GB, free: 12.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.2622, allocations: 1.196 MB / 0.5054 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-05/0.2623, allocations: 24.5 kB / 0.5054 GB, free: 11.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.2627, allocations: 373.4 kB / 0.5058 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.2645, allocations: 1.041 MB / 0.5068 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.2678, allocations: 3.146 MB / 0.5099 GB, free: 7.105 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.2681, allocations: 410.5 kB / 0.5103 GB, free: 6.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.2692, allocations: 483.3 kB / 0.5107 GB, free: 6.262 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.2705, allocations: 0.7622 MB / 0.5115 GB, free: 5.484 MB / 458.7 MB Notification: Performance of SimCode: time 6.42e-07/0.2705, allocations: 0 / 0.5115 GB, free: 5.484 MB / 458.7 MB Notification: Performance of Templates: time 0.04459/0.3151, allocations: 42.62 MB / 0.5531 GB, free: 11.79 MB / 0.4948 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.233711963985115]