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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 106.3 kB / 18.91 MB, free: 3.164 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 193.9 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.7 MB, free: 13.39 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8273/0.8273, allocations: 128.4 MB / 434.1 MB, free: 6.172 MB / 334.1 MB [Timeout remaining time 89] 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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 72.53 kB / 0.6013 GB, free: 21.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1739, allocations: 83.25 MB / 0.6826 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05919/0.2331, allocations: 54.15 MB / 0.7355 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02947/0.2626, allocations: 17.05 MB / 0.7521 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.2662, allocations: 91.5 kB / 0.7522 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006126/0.2723, allocations: 1.947 MB / 0.7541 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008067/0.2804, allocations: 2.612 MB / 0.7566 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006899/0.2873, allocations: 2.378 MB / 0.759 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4594/0.7467, allocations: 7.35 MB / 0.7661 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002969/0.7497, allocations: 1.394 MB / 0.7675 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006715/0.7564, allocations: 2.092 MB / 0.7695 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004128/0.7605, allocations: 1.462 MB / 0.771 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009464/0.7615, allocations: 176.3 kB / 0.7711 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006415/0.7679, allocations: 2.05 MB / 0.7731 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.7692, allocations: 0.6713 MB / 0.7738 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.7718, allocations: 1.219 MB / 0.775 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009256/0.7811, allocations: 3.921 MB / 0.7788 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7811, allocations: 0 / 0.7788 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.215e-06/0.7811, allocations: 0 / 0.7788 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001143/0.7812, allocations: 0.8906 kB / 0.7788 GB, free: 7.062 MB / 0.5762 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.007494/0.7887, allocations: 3.011 MB / 0.7818 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.7887, allocations: 11.22 kB / 0.7818 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/0.7917, allocations: 0.5644 MB / 0.7823 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/0.7972, allocations: 2.727 MB / 0.785 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.7973, allocations: 90.56 kB / 0.7851 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.7975, allocations: 125 kB / 0.7852 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/0.8005, allocations: 1.369 MB / 0.7865 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.8005, allocations: 5.219 kB / 0.7865 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.8006, allocations: 46.81 kB / 0.7866 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.8006, allocations: 28.19 kB / 0.7866 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.8035, allocations: 1.095 MB / 0.7877 GB, free: 4.406 MB / 0.5762 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.01166/0.8152, allocations: 7.47 MB / 0.795 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.8182, allocations: 1.339 MB / 0.7963 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.8194, allocations: 403.1 kB / 0.7967 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007048/0.8264, allocations: 3.043 MB / 0.7996 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.8276, allocations: 429.8 kB / 0.8 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 3.848e-06/0.8276, allocations: 0 / 0.8 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.004171/0.8318, allocations: 1.269 MB / 0.8013 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.8319, allocations: 61.47 kB / 0.8013 GB, free: 13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/0.8356, allocations: 2.119 MB / 0.8034 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.8357, allocations: 42.73 kB / 0.8035 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/0.8367, allocations: 1.026 MB / 0.8045 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.837, allocations: 215.7 kB / 0.8047 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004372/0.8374, allocations: 312.4 kB / 0.805 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8376, allocations: 303.1 kB / 0.8052 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.8387, allocations: 0.5541 MB / 0.8058 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.8402, allocations: 0.985 MB / 0.8067 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.8426, allocations: 1.447 MB / 0.8082 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.8426, allocations: 8.75 kB / 0.8082 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003713/0.8463, allocations: 1.767 MB / 0.8099 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.8464, allocations: 38.27 kB / 0.8099 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.8464, allocations: 12.19 kB / 0.8099 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.846e-05/0.8464, allocations: 22.22 kB / 0.81 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.8475, allocations: 305.2 kB / 0.8103 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/0.8476, allocations: 28.31 kB / 0.8103 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.8497, allocations: 191 kB / 0.8105 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.8498, allocations: 70.45 kB / 0.8105 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00224/0.852, allocations: 0.9633 MB / 0.8115 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001595/0.8536, allocations: 0.9866 MB / 0.8124 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002612/0.8562, allocations: 1.446 MB / 0.8138 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.207e-06/0.8563, allocations: 4.75 kB / 0.8139 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.003999/0.8603, allocations: 1.759 MB / 0.8156 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.8603, allocations: 39.81 kB / 0.8156 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.8603, allocations: 16.22 kB / 0.8156 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.8603, allocations: 26.38 kB / 0.8156 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.8614, allocations: 314.7 kB / 0.8159 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.8615, allocations: 21.62 kB / 0.816 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.8635, allocations: 162.9 kB / 0.8161 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.8636, allocations: 64.7 kB / 0.8162 GB, free: 7.918 MB / 0.5919 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.0004676/0.8641, allocations: 255 kB / 0.8164 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004215/0.8645, allocations: 204.6 kB / 0.8166 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.8675, allocations: 1.134 MB / 0.8177 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.8676, allocations: 5.562 kB / 0.8177 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.8676, allocations: 0 / 0.8177 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002066/0.8696, allocations: 0.972 MB / 0.8187 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00563/0.8753, allocations: 2.569 MB / 0.8212 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.8753, allocations: 7.656 kB / 0.8212 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.876, allocations: 141.4 kB / 0.8213 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.8762, allocations: 41.48 kB / 0.8214 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.8763, allocations: 19.17 kB / 0.8214 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.8776, allocations: 1.489 MB / 0.8228 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8776, allocations: 3.688 kB / 0.8229 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/0.8812, allocations: 1.571 MB / 0.8244 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.8823, allocations: 400.5 kB / 0.8248 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.8826, allocations: 23.67 kB / 0.8248 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009953/0.8836, allocations: 67.53 kB / 0.8249 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.8837, allocations: 51.02 kB / 0.8249 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.8838, allocations: 33.31 kB / 0.8249 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002348/0.8861, allocations: 1.466 MB / 0.8264 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.8861, allocations: 0 / 0.8264 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003263/0.8894, allocations: 1.028 MB / 0.8274 GB, free: 0.8672 MB / 0.5919 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.002749/0.8921, allocations: 0.8762 MB / 0.8282 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004544/0.8967, allocations: 1.958 MB / 0.8301 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.8967, allocations: 4 kB / 0.8301 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.898, allocations: 0.5182 MB / 0.8306 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/0.9026, allocations: 0.9703 MB / 0.8316 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007776/0.9103, allocations: 3.765 MB / 0.8353 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.9116, allocations: 1.523 MB / 0.8368 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007786/0.9124, allocations: 179.4 kB / 0.8369 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of SimCode: time 9.52e-07/0.9124, allocations: 0 / 0.8369 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of Templates: time 0.06557/0.978, allocations: 40.35 MB / 0.8763 GB, free: 380 kB / 0.6387 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]