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.001411/0.001411, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 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.00175/0.00175, allocations: 216.4 kB / 23.76 MB, free: 4.711 MB / 14.72 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 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 0.9895/0.9895, allocations: 150 MB / 463.9 MB, free: 10.54 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 67.44 kB / 0.6425 GB, free: 9.992 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.217, allocations: 89.17 MB / 0.7296 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.5042/0.7212, allocations: 54.9 MB / 0.7832 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02836/0.7495, allocations: 17.24 MB / 0.8 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004598/0.7541, allocations: 125.4 kB / 0.8002 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007462/0.7616, allocations: 2.03 MB / 0.8021 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0099/0.7715, allocations: 2.681 MB / 0.8048 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008096/0.7796, allocations: 2.479 MB / 0.8072 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01524/0.7948, allocations: 7.482 MB / 0.8145 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003905/0.7987, allocations: 1.376 MB / 0.8158 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007141/0.8059, allocations: 2.158 MB / 0.8179 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004193/0.8101, allocations: 1.458 MB / 0.8194 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.8111, allocations: 181.6 kB / 0.8195 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007577/0.8187, allocations: 2.141 MB / 0.8216 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.8204, allocations: 0.6776 MB / 0.8223 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003883/0.8243, allocations: 1.216 MB / 0.8235 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.836, allocations: 3.983 MB / 0.8274 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.836, allocations: 0 / 0.8274 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.836, allocations: 0 / 0.8274 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001701/0.8361, allocations: 1.375 kB / 0.8274 GB, free: 14.8 MB / 0.6075 GB 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.01009/0.8462, allocations: 2.962 MB / 0.8303 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.8463, allocations: 10.19 kB / 0.8303 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02039/0.8667, allocations: 3.19 MB / 0.8334 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0073/0.874, allocations: 2.701 MB / 0.836 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.8741, allocations: 92.09 kB / 0.8361 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004789/0.8746, allocations: 116.7 kB / 0.8362 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.8849, allocations: 2.478 MB / 0.8386 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.863e-05/0.885, allocations: 4 kB / 0.8386 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.8853, allocations: 48 kB / 0.8387 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.8853, allocations: 28 kB / 0.8387 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/0.9011, allocations: 3.257 MB / 0.8419 GB, free: 4.297 MB / 0.6075 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.02991/0.931, allocations: 10.69 MB / 0.8523 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008983/0.94, allocations: 2.002 MB / 0.8543 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007181/0.9472, allocations: 1.494 MB / 0.8558 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007686/0.9549, allocations: 3.17 MB / 0.8588 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007453/0.9623, allocations: 1.575 MB / 0.8604 GB, free: 328 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 4.258e-06/0.9623, allocations: 0 / 0.8604 GB, free: 328 kB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.02228/0.9846, allocations: 4.418 MB / 0.8647 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.9847, allocations: 55.91 kB / 0.8648 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/0.9898, allocations: 2.137 MB / 0.8668 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003202/0.9901, allocations: 45.7 kB / 0.8669 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.9916, allocations: 1.024 MB / 0.8679 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/0.992, allocations: 218.2 kB / 0.8681 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007881/0.9928, allocations: 326.7 kB / 0.8684 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9929, allocations: 305.1 kB / 0.8687 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007414/1, allocations: 1.674 MB / 0.8703 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008171/1.009, allocations: 2.104 MB / 0.8724 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/1.023, allocations: 3.397 MB / 0.8757 GB, free: 204 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/1.023, allocations: 7.938 kB / 0.8757 GB, free: 196 kB / 0.6387 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01709/1.04, allocations: 3.875 MB / 0.8795 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/1.04, allocations: 37.7 kB / 0.8795 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/1.04, allocations: 11.94 kB / 0.8795 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.62e-05/1.04, allocations: 23.98 kB / 0.8796 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004699/1.045, allocations: 0.7998 MB / 0.8803 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.457e-05/1.045, allocations: 27.86 kB / 0.8804 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005402/1.05, allocations: 0.6702 MB / 0.881 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/1.051, allocations: 63.97 kB / 0.8811 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008653/1.059, allocations: 2.088 MB / 0.8831 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008068/1.067, allocations: 2.104 MB / 0.8852 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0145/1.082, allocations: 3.404 MB / 0.8885 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.805e-05/1.082, allocations: 8 kB / 0.8885 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.01727/1.099, allocations: 3.877 MB / 0.8923 GB, free: 14.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/1.099, allocations: 37.69 kB / 0.8923 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/1.099, allocations: 12 kB / 0.8923 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/1.099, allocations: 20 kB / 0.8924 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004612/1.104, allocations: 0.7905 MB / 0.8931 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.074e-05/1.104, allocations: 27.86 kB / 0.8932 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005664/1.11, allocations: 0.6516 MB / 0.8938 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/1.11, allocations: 75.97 kB / 0.8939 GB, free: 13.18 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (151): * Single equations (assignments): 148 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0006775/1.111, allocations: 260.6 kB / 0.8941 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000988/1.112, allocations: 206.6 kB / 0.8943 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/1.127, allocations: 3.291 MB / 0.8975 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.127, allocations: 8 kB / 0.8975 GB, free: 9.402 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.127, allocations: 0 / 0.8975 GB, free: 9.402 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01406/1.141, allocations: 3.074 MB / 0.9005 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02007/1.161, allocations: 5.275 MB / 0.9057 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.161, allocations: 7.938 kB / 0.9057 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004202/1.166, allocations: 0.6484 MB / 0.9063 GB, free: 216 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/1.166, allocations: 28.84 kB / 0.9064 GB, free: 184 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/1.166, allocations: 27.97 kB / 0.9064 GB, free: 156 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/1.167, allocations: 1.381 MB / 0.9077 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.168, allocations: 64 / 0.9077 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/1.19, allocations: 4.917 MB / 0.9125 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/1.192, allocations: 382.2 kB / 0.9129 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007258/1.192, allocations: 12 kB / 0.9129 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004857/1.197, allocations: 0.5619 MB / 0.9135 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/1.197, allocations: 52.56 kB / 0.9135 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/1.198, allocations: 35.95 kB / 0.9135 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00354/1.201, allocations: 1.481 MB / 0.915 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/1.201, allocations: 0 / 0.915 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005152/1.206, allocations: 1.08 MB / 0.9161 GB, free: 6.102 MB / 0.6856 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.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 (66): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003049/1.209, allocations: 0.8516 MB / 0.9169 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02366/1.233, allocations: 5.322 MB / 0.9221 GB, free: 60 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.233, allocations: 0 / 0.9221 GB, free: 60 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007749/1.241, allocations: 1.65 MB / 0.9237 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005601/1.246, allocations: 0.9656 MB / 0.9246 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.262, allocations: 4.904 MB / 0.9294 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/1.264, allocations: 1.526 MB / 0.9309 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.265, allocations: 199.3 kB / 0.9311 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of SimCode: time 1.182e-06/1.265, allocations: 0 / 0.9311 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of Templates: time 0.07631/1.342, allocations: 43.23 MB / 0.9733 GB, free: 11.74 MB / 0.7481 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.652872535865754] Failed to read output from testmodel.py, exit status != 0: 1.3537723538465798 1.368559659 0.529001528 Calling exit ...