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.002383/0.002383, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.002145/0.002145, allocations: 165.2 kB / 23.53 MB, free: 0.8906 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.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.074/1.074, allocations: 115 MB / 375.3 MB, free: 7.574 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.733e-06/1.733e-06, allocations: 0 / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.671e-05, allocations: 7.609 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.1192/0.1192, allocations: 69.89 MB / 0.5378 GB, free: 2.414 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.04962/0.1688, allocations: 19.9 MB / 0.5572 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004171/0.173, allocations: 142.9 kB / 0.5573 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008471/0.1815, allocations: 2.021 MB / 0.5593 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.1937, allocations: 3.104 MB / 0.5623 GB, free: 9.172 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.2046, allocations: 2.914 MB / 0.5652 GB, free: 6.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.02217/0.2268, allocations: 9.246 MB / 0.5742 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004598/0.2314, allocations: 1.596 MB / 0.5758 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01268/0.2441, allocations: 3.49 MB / 0.5792 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/0.2486, allocations: 1.393 MB / 0.5805 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.2498, allocations: 192 kB / 0.5807 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006082/0.2559, allocations: 1.528 MB / 0.5822 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.2576, allocations: 0.7434 MB / 0.5829 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00321/0.2608, allocations: 0.8649 MB / 0.5838 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.2723, allocations: 4.089 MB / 0.5878 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.2723, allocations: 0 / 0.5878 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2723, allocations: 0 / 0.5878 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001356/0.2725, allocations: 0 / 0.5878 GB, free: 15.05 MB / 0.5105 GB 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.01088/0.2833, allocations: 3.456 MB / 0.5912 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.2834, allocations: 8.031 kB / 0.5912 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.2868, allocations: 0.5486 MB / 0.5917 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008784/0.2956, allocations: 2.606 MB / 0.5942 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.2958, allocations: 110.4 kB / 0.5944 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005777/0.2964, allocations: 148 kB / 0.5945 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00549/0.3019, allocations: 1.734 MB / 0.5962 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/0.3019, allocations: 3.938 kB / 0.5962 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.3022, allocations: 52 kB / 0.5962 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.988e-05/0.3022, allocations: 36 kB / 0.5963 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004029/0.3063, allocations: 1 MB / 0.5973 GB, free: 5.016 MB / 0.5105 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.01812/0.3244, allocations: 7.13 MB / 0.6042 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/0.3274, allocations: 0.7409 MB / 0.6049 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.3287, allocations: 362.7 kB / 0.6053 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005936/0.3347, allocations: 1.384 MB / 0.6066 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/0.3365, allocations: 0.6129 MB / 0.6072 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 4.869e-06/0.3365, allocations: 0 / 0.6072 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=64): time 0.004898/0.3414, allocations: 1.14 MB / 0.6083 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.3415, allocations: 60.05 kB / 0.6084 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007193/0.3486, allocations: 2.466 MB / 0.6108 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002481/0.3489, allocations: 41.7 kB / 0.6109 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002555/0.3515, allocations: 1.336 MB / 0.6122 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006064/0.3521, allocations: 254 kB / 0.6124 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008715/0.3529, allocations: 284.5 kB / 0.6127 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004994/0.3534, allocations: 0.5551 MB / 0.6132 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.3548, allocations: 354.5 kB / 0.6135 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.3574, allocations: 1.25 MB / 0.6148 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003553/0.3609, allocations: 1.33 MB / 0.6161 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/0.3609, allocations: 8 kB / 0.6161 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005041/0.366, allocations: 1.374 MB / 0.6174 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.3661, allocations: 41.7 kB / 0.6175 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-05/0.3661, allocations: 12 kB / 0.6175 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.766e-05/0.3662, allocations: 23.94 kB / 0.6175 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.3678, allocations: 280.2 kB / 0.6178 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-05/0.3679, allocations: 27.92 kB / 0.6178 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.37, allocations: 143.1 kB / 0.6179 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.3702, allocations: 59.98 kB / 0.618 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002353/0.3725, allocations: 0.6709 MB / 0.6186 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002484/0.375, allocations: 1.253 MB / 0.6199 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00349/0.3785, allocations: 1.315 MB / 0.6211 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.539e-05/0.3785, allocations: 4 kB / 0.6211 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.004866/0.3834, allocations: 1.382 MB / 0.6225 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.3834, allocations: 41.64 kB / 0.6225 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.3835, allocations: 12.66 kB / 0.6225 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.157e-05/0.3835, allocations: 24 kB / 0.6226 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.3851, allocations: 271.5 kB / 0.6228 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-05/0.3852, allocations: 31.86 kB / 0.6229 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.3873, allocations: 131.4 kB / 0.623 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.3875, allocations: 59.98 kB / 0.623 GB, free: 8.938 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (137): * Single equations (assignments): 135 * 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.0005843/0.3881, allocations: 343.6 kB / 0.6234 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009015/0.389, allocations: 242.5 kB / 0.6236 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/0.393, allocations: 1.009 MB / 0.6246 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.393, allocations: 8 kB / 0.6246 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.393, allocations: 7.938 kB / 0.6246 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002537/0.3955, allocations: 0.6978 MB / 0.6253 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009871/0.4054, allocations: 2.754 MB / 0.628 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.4054, allocations: 4.062 kB / 0.628 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.4065, allocations: 147.8 kB / 0.6281 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/0.4068, allocations: 47.59 kB / 0.6282 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-05/0.4069, allocations: 19.98 kB / 0.6282 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.4094, allocations: 1.885 MB / 0.63 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4094, allocations: 0 / 0.63 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/0.4144, allocations: 1.488 MB / 0.6315 GB, free: 48 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.4159, allocations: 318.4 kB / 0.6318 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005999/0.4165, allocations: 12 kB / 0.6318 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.4181, allocations: 47.95 kB / 0.6318 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.4183, allocations: 68.3 kB / 0.6319 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.4185, allocations: 31.97 kB / 0.6319 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004161/0.4226, allocations: 1.347 MB / 0.6332 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4226, allocations: 0 / 0.6332 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005223/0.4279, allocations: 1.025 MB / 0.6342 GB, free: 13.19 MB / 0.5573 GB 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.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 (72): * Single equations (assignments): 64 * 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.001651/0.4295, allocations: 474.1 kB / 0.6347 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005622/0.4351, allocations: 1.647 MB / 0.6363 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4351, allocations: 0 / 0.6363 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.437, allocations: 0.5692 MB / 0.6369 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00754/0.4446, allocations: 1.144 MB / 0.638 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.4552, allocations: 3.501 MB / 0.6414 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.4574, allocations: 0.9966 MB / 0.6424 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003168/0.4605, allocations: 468.4 kB / 0.6428 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008215/0.4613, allocations: 180.4 kB / 0.643 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of SimCode: time 1.563e-06/0.4613, allocations: 0 / 0.643 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of Templates: time 0.276/0.7374, allocations: 42.43 MB / 0.6844 GB, free: 150.9 MB / 0.5573 GB " [Timeout remaining time 659] 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: 7.488157446030527]