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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 121.8 kB / 17.8 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 187.7 kB / 20.74 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.1 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9883/0.9883, allocations: 149.7 MB / 453.7 MB, free: 10.64 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001958/0.001958, allocations: 65.38 kB / 0.6285 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.198, allocations: 87.86 MB / 0.7143 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.07482/0.2728, allocations: 68 MB / 0.7807 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03276/0.3056, allocations: 18.65 MB / 0.7989 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003919/0.3095, allocations: 99.44 kB / 0.799 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006015/0.3155, allocations: 2.017 MB / 0.801 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.3255, allocations: 2.955 MB / 0.8039 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007921/0.3335, allocations: 2.459 MB / 0.8063 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01237/0.3458, allocations: 8.015 MB / 0.8141 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.3487, allocations: 1.587 MB / 0.8156 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005849/0.3546, allocations: 2.325 MB / 0.8179 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.3574, allocations: 1.595 MB / 0.8195 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004173/0.3579, allocations: 200 kB / 0.8197 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004617/0.3625, allocations: 2.184 MB / 0.8218 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008241/0.3633, allocations: 0.7083 MB / 0.8225 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.3651, allocations: 1.318 MB / 0.8238 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006949/0.3721, allocations: 4.231 MB / 0.8279 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3721, allocations: 4 kB / 0.8279 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3721, allocations: 0 / 0.8279 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.981e-05/0.3721, allocations: 0 / 0.8279 GB, free: 6.973 MB / 0.6387 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.006088/0.3782, allocations: 3.177 MB / 0.831 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3783, allocations: 8.031 kB / 0.831 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.3803, allocations: 493.9 kB / 0.8315 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005672/0.386, allocations: 2.878 MB / 0.8343 GB, free: 272 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3861, allocations: 94.45 kB / 0.8344 GB, free: 176 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.3863, allocations: 139.9 kB / 0.8345 GB, free: 36 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.3892, allocations: 1.441 MB / 0.8359 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.3892, allocations: 7.953 kB / 0.8359 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.3893, allocations: 55.94 kB / 0.836 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.3894, allocations: 32 kB / 0.836 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.392, allocations: 1.114 MB / 0.8371 GB, free: 13.29 MB / 0.6544 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.01093/0.4029, allocations: 7.777 MB / 0.8447 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.4052, allocations: 1.264 MB / 0.8459 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009249/0.4062, allocations: 402.3 kB / 0.8463 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004135/0.4103, allocations: 2.388 MB / 0.8486 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.4114, allocations: 454.9 kB / 0.8491 GB, free: 64 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=64): time 2.465e-06/0.4114, allocations: 0 / 0.8491 GB, free: 64 kB / 0.6544 GB Notification: Performance of matching and sorting (n=64): time 0.003421/0.4148, allocations: 1.327 MB / 0.8504 GB, free: 14.71 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.4148, allocations: 59.97 kB / 0.8504 GB, free: 14.64 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.4179, allocations: 2.043 MB / 0.8524 GB, free: 12.57 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.418, allocations: 45.7 kB / 0.8525 GB, free: 12.52 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.4191, allocations: 1.036 MB / 0.8535 GB, free: 11.47 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.4193, allocations: 242 kB / 0.8537 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004719/0.4198, allocations: 314.7 kB / 0.854 GB, free: 10.92 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4199, allocations: 305.1 kB / 0.8543 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.4211, allocations: 0.5571 MB / 0.8549 GB, free: 10.06 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.4226, allocations: 0.958 MB / 0.8558 GB, free: 8.926 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/0.4252, allocations: 1.427 MB / 0.8572 GB, free: 7.355 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4252, allocations: 0 / 0.8572 GB, free: 7.355 MB / 0.67 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003687/0.4289, allocations: 1.77 MB / 0.8589 GB, free: 5.574 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.4289, allocations: 38.95 kB / 0.8589 GB, free: 5.531 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.4289, allocations: 8 kB / 0.859 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.429, allocations: 16 kB / 0.859 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.4301, allocations: 308 kB / 0.8593 GB, free: 5.207 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/0.4301, allocations: 23.92 kB / 0.8593 GB, free: 5.184 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.4317, allocations: 179 kB / 0.8595 GB, free: 5.008 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4319, allocations: 59.98 kB / 0.8595 GB, free: 4.949 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001979/0.4338, allocations: 0.9912 MB / 0.8605 GB, free: 3.957 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001521/0.4354, allocations: 0.9502 MB / 0.8614 GB, free: 2.848 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002538/0.4379, allocations: 1.426 MB / 0.8628 GB, free: 1.273 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.699e-06/0.4379, allocations: 4 kB / 0.8628 GB, free: 1.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=187) (initialization_lambda0): time 0.003846/0.4418, allocations: 1.765 MB / 0.8645 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.4418, allocations: 41.64 kB / 0.8646 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.4418, allocations: 16.64 kB / 0.8646 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.4419, allocations: 20 kB / 0.8646 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.443, allocations: 299.5 kB / 0.8649 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-05/0.443, allocations: 20.12 kB / 0.8649 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.4447, allocations: 163.3 kB / 0.8651 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.4448, allocations: 63.92 kB / 0.8651 GB, free: 14.87 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 150 * 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.0004048/0.4452, allocations: 263.5 kB / 0.8654 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006098/0.4458, allocations: 210.6 kB / 0.8656 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.4488, allocations: 1.131 MB / 0.8667 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.4488, allocations: 8 kB / 0.8667 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4488, allocations: 0 / 0.8667 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001975/0.4508, allocations: 0.8355 MB / 0.8675 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006709/0.4575, allocations: 2.665 MB / 0.8701 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.4575, allocations: 0 / 0.8701 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008071/0.4583, allocations: 163.8 kB / 0.8703 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.4586, allocations: 36.83 kB / 0.8703 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.4587, allocations: 19.98 kB / 0.8703 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.4604, allocations: 1.473 MB / 0.8718 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4604, allocations: 4.031 kB / 0.8718 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004349/0.4648, allocations: 1.607 MB / 0.8733 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.4664, allocations: 395.5 kB / 0.8737 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006104/0.467, allocations: 16 kB / 0.8737 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.4684, allocations: 67.92 kB / 0.8738 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.4686, allocations: 52.58 kB / 0.8738 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.4687, allocations: 35.98 kB / 0.8739 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003077/0.4717, allocations: 1.36 MB / 0.8752 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.4717, allocations: 0 / 0.8752 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004073/0.4758, allocations: 1.142 MB / 0.8763 GB, free: 3.105 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.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.001941/0.4777, allocations: 0.672 MB / 0.877 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004709/0.4825, allocations: 1.973 MB / 0.8789 GB, free: 448 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4825, allocations: 0 / 0.8789 GB, free: 448 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.3907/0.8732, allocations: 0.5235 MB / 0.8794 GB, free: 158.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/0.8778, allocations: 1 MB / 0.8804 GB, free: 158.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/0.884, allocations: 3.805 MB / 0.8841 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.8853, allocations: 1.555 MB / 0.8856 GB, free: 156.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/0.886, allocations: 171.2 kB / 0.8858 GB, free: 156.2 MB / 0.6856 GB Notification: Performance of SimCode: time 2.185e-06/0.886, allocations: 0 / 0.8858 GB, free: 156.2 MB / 0.6856 GB Notification: Performance of Templates: time 0.05967/0.9457, allocations: 41.08 MB / 0.9259 GB, free: 128.7 MB / 0.6856 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.96042944700457] Failed to read output from testmodel.py, exit status != 0: 0.9530650629894808 0.961314444 0.587192146 Calling exit ...