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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 106.5 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001263, allocations: 192 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7279/0.7279, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 64.09 kB / 0.4911 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3444, allocations: 77.93 MB / 0.5672 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04431/0.3887, allocations: 53.67 MB / 0.6196 GB, free: 5.035 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02435/0.4131, allocations: 17.01 MB / 0.6362 GB, free: 3.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.4161, allocations: 91.5 kB / 0.6363 GB, free: 3.891 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008064/0.4242, allocations: 4.346 MB / 0.6406 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006253/0.4305, allocations: 2.401 MB / 0.6429 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005824/0.4363, allocations: 2.287 MB / 0.6451 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.4465, allocations: 7.417 MB / 0.6524 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.4489, allocations: 1.651 MB / 0.654 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.4528, allocations: 1.872 MB / 0.6558 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.455, allocations: 1.4 MB / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004015/0.4554, allocations: 172 kB / 0.6573 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004044/0.4595, allocations: 2.008 MB / 0.6593 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006813/0.4602, allocations: 0.654 MB / 0.6599 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.4617, allocations: 1.212 MB / 0.6611 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006099/0.4678, allocations: 3.836 MB / 0.6649 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4678, allocations: 0 / 0.6649 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4678, allocations: 0 / 0.6649 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.887e-05/0.4679, allocations: 8 kB / 0.6649 GB, free: 6.555 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.005026/0.4729, allocations: 2.928 MB / 0.6677 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4729, allocations: 12.03 kB / 0.6678 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.4756, allocations: 0.5511 MB / 0.6683 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.4804, allocations: 2.602 MB / 0.6708 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004143/0.4808, allocations: 154.1 kB / 0.671 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003143/0.4812, allocations: 128 kB / 0.6711 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.484, allocations: 1.367 MB / 0.6724 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.484, allocations: 3.938 kB / 0.6724 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.4841, allocations: 51.94 kB / 0.6725 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.4843, allocations: 46.08 kB / 0.6725 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.4872, allocations: 1.113 MB / 0.6736 GB, free: 13.34 MB / 0.5137 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.01037/0.4976, allocations: 7.501 MB / 0.6809 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.5003, allocations: 1.369 MB / 0.6823 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.5013, allocations: 430.8 kB / 0.6827 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005493/0.5068, allocations: 3.152 MB / 0.6858 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.508, allocations: 434.9 kB / 0.6862 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.475e-06/0.508, allocations: 0 / 0.6862 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.003513/0.5115, allocations: 1.267 MB / 0.6874 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.5116, allocations: 59.97 kB / 0.6875 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.5144, allocations: 2.106 MB / 0.6895 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.5145, allocations: 45.7 kB / 0.6896 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008815/0.5154, allocations: 1.018 MB / 0.6906 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.5156, allocations: 217 kB / 0.6908 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004421/0.5161, allocations: 318.5 kB / 0.6911 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.5162, allocations: 301.1 kB / 0.6914 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.5174, allocations: 0.5571 MB / 0.6919 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.519, allocations: 1.004 MB / 0.6929 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/0.5217, allocations: 1.463 MB / 0.6943 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.5217, allocations: 4 kB / 0.6943 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00367/0.5254, allocations: 1.782 MB / 0.6961 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.5254, allocations: 37.69 kB / 0.6961 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.5254, allocations: 16 kB / 0.6961 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.5255, allocations: 20 kB / 0.6961 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5267, allocations: 311.7 kB / 0.6964 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/0.5267, allocations: 23.92 kB / 0.6965 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.5282, allocations: 187.2 kB / 0.6966 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.5283, allocations: 63.98 kB / 0.6967 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00192/0.5302, allocations: 0.9803 MB / 0.6977 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001542/0.5318, allocations: 0.996 MB / 0.6986 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002513/0.5343, allocations: 1.462 MB / 0.7001 GB, free: 420 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/0.5343, allocations: 4 kB / 0.7001 GB, free: 416 kB / 0.5294 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003536/0.5379, allocations: 1.789 MB / 0.7018 GB, free: 14.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.5379, allocations: 33.7 kB / 0.7018 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5379, allocations: 16 kB / 0.7019 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5379, allocations: 20 kB / 0.7019 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.5391, allocations: 311.5 kB / 0.7022 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.5392, allocations: 23.94 kB / 0.7022 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.5406, allocations: 163.5 kB / 0.7024 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.962e-05/0.5407, allocations: 59.98 kB / 0.7024 GB, free: 13.98 MB / 0.545 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 (154): * Single equations (assignments): 151 * 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.0003639/0.5411, allocations: 263.3 kB / 0.7027 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.5414, allocations: 197.4 kB / 0.7029 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.5444, allocations: 1.146 MB / 0.704 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.5444, allocations: 11.98 kB / 0.704 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5444, allocations: 0 / 0.704 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00212/0.5465, allocations: 0.9698 MB / 0.7049 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/0.5518, allocations: 2.62 MB / 0.7075 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.5518, allocations: 7.938 kB / 0.7075 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/0.5526, allocations: 151.9 kB / 0.7076 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001702/0.5528, allocations: 28.84 kB / 0.7077 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.5529, allocations: 19.98 kB / 0.7077 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.554, allocations: 1.418 MB / 0.7091 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.554, allocations: 0 / 0.7091 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.5576, allocations: 1.592 MB / 0.7106 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/0.5582, allocations: 390.1 kB / 0.711 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.5585, allocations: 20 kB / 0.711 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/0.5594, allocations: 71.86 kB / 0.7111 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.5596, allocations: 60.42 kB / 0.7111 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/0.5596, allocations: 27.98 kB / 0.7112 GB, free: 4.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001993/0.5616, allocations: 1.465 MB / 0.7126 GB, free: 3.195 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.894e-06/0.5616, allocations: 0 / 0.7126 GB, free: 3.195 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002536/0.5642, allocations: 1.037 MB / 0.7136 GB, free: 2.156 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],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 (69): * Single equations (assignments): 60 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001811/0.566, allocations: 0.8668 MB / 0.7145 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004599/0.5706, allocations: 2.175 MB / 0.7166 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5706, allocations: 4 kB / 0.7166 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.5719, allocations: 0.545 MB / 0.7171 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/0.5757, allocations: 0.9691 MB / 0.7181 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.5817, allocations: 3.668 MB / 0.7217 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.5829, allocations: 1.542 MB / 0.7232 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00213/0.585, allocations: 0.5201 MB / 0.7237 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.5855, allocations: 179.4 kB / 0.7238 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.5855, allocations: 0 / 0.7238 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of Templates: time 0.3184/0.9039, allocations: 39.25 MB / 0.7622 GB, free: 150.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (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)