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.001062/0.001062, allocations: 113.3 kB / 17.04 MB, free: 5.809 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.001132/0.001132, allocations: 196 kB / 17.98 MB, free: 5.031 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.228/1.228, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6579/0.6579, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3071, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.03966/0.3468, allocations: 53.67 MB / 0.61 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02305/0.3699, allocations: 17.02 MB / 0.6266 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.3737, allocations: 87.5 kB / 0.6267 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007733/0.3815, allocations: 4.35 MB / 0.6309 GB, free: 9.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.3871, allocations: 2.406 MB / 0.6333 GB, free: 6.879 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004866/0.3919, allocations: 2.296 MB / 0.6355 GB, free: 4.602 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008854/0.4008, allocations: 7.416 MB / 0.6428 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.403, allocations: 1.647 MB / 0.6444 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003379/0.4064, allocations: 1.896 MB / 0.6462 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.4079, allocations: 1.416 MB / 0.6476 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.4082, allocations: 172 kB / 0.6478 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.4114, allocations: 2.004 MB / 0.6497 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005366/0.4119, allocations: 0.654 MB / 0.6504 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.413, allocations: 1.22 MB / 0.6516 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.417, allocations: 3.883 MB / 0.6554 GB, free: 224 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.417, allocations: 4 kB / 0.6554 GB, free: 220 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.417, allocations: 0 / 0.6554 GB, free: 220 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.4171, allocations: 0 / 0.6554 GB, free: 220 kB / 494.1 MB 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.004227/0.4213, allocations: 2.936 MB / 0.6582 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.4213, allocations: 12.03 kB / 0.6582 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.4237, allocations: 0.5433 MB / 0.6588 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/0.4281, allocations: 2.696 MB / 0.6614 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/0.4282, allocations: 90.17 kB / 0.6615 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.4284, allocations: 124 kB / 0.6616 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.4307, allocations: 1.358 MB / 0.6629 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.4308, allocations: 7.938 kB / 0.6629 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/0.4309, allocations: 48 kB / 0.663 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.4309, allocations: 42.08 kB / 0.663 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.4334, allocations: 1.105 MB / 0.6641 GB, free: 6.996 MB / 0.4981 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.008974/0.4424, allocations: 7.442 MB / 0.6714 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.4447, allocations: 1.342 MB / 0.6727 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008981/0.4456, allocations: 426.8 kB / 0.6731 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005098/0.4507, allocations: 3.152 MB / 0.6762 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009678/0.4517, allocations: 422.9 kB / 0.6766 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=59): time 2.565e-06/0.4517, allocations: 0 / 0.6766 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59): time 0.002982/0.4547, allocations: 1.252 MB / 0.6778 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.4547, allocations: 55.97 kB / 0.6778 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.4572, allocations: 2.114 MB / 0.6799 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.4573, allocations: 45.7 kB / 0.6799 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007587/0.4581, allocations: 1.022 MB / 0.6809 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.4582, allocations: 216.9 kB / 0.6812 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.4586, allocations: 302.6 kB / 0.6814 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4588, allocations: 309.1 kB / 0.6817 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.4599, allocations: 0.5493 MB / 0.6823 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.4613, allocations: 0.9963 MB / 0.6832 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.4635, allocations: 1.444 MB / 0.6847 GB, free: 468 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.4635, allocations: 4 kB / 0.6847 GB, free: 464 kB / 0.5137 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00314/0.4667, allocations: 1.774 MB / 0.6864 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.4667, allocations: 37.69 kB / 0.6864 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4667, allocations: 15.94 kB / 0.6864 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.4668, allocations: 20.69 kB / 0.6865 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4678, allocations: 311.5 kB / 0.6868 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.497e-05/0.4679, allocations: 27.92 kB / 0.6868 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.4691, allocations: 178.5 kB / 0.687 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4692, allocations: 59.98 kB / 0.687 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001715/0.471, allocations: 0.9795 MB / 0.688 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001324/0.4723, allocations: 0.9844 MB / 0.6889 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002171/0.4745, allocations: 1.447 MB / 0.6903 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.332e-06/0.4745, allocations: 7.938 kB / 0.6904 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003073/0.4776, allocations: 1.762 MB / 0.6921 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.4776, allocations: 45.64 kB / 0.6921 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4776, allocations: 12 kB / 0.6921 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4777, allocations: 20 kB / 0.6921 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.4787, allocations: 308 kB / 0.6924 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.4787, allocations: 23.92 kB / 0.6925 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.48, allocations: 159 kB / 0.6926 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.4801, allocations: 63.98 kB / 0.6927 GB, free: 7.84 MB / 0.5294 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.0002846/0.4804, allocations: 256.5 kB / 0.6929 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.4807, allocations: 213.3 kB / 0.6931 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.4832, allocations: 1.125 MB / 0.6942 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4832, allocations: 4 kB / 0.6942 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.4833, allocations: 4 kB / 0.6942 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001816/0.4851, allocations: 0.9504 MB / 0.6952 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.4898, allocations: 2.613 MB / 0.6977 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4898, allocations: 4.062 kB / 0.6977 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000706/0.4905, allocations: 151.7 kB / 0.6979 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/0.4907, allocations: 28.84 kB / 0.6979 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/0.4907, allocations: 23.98 kB / 0.6979 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009659/0.4917, allocations: 1.425 MB / 0.6993 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4917, allocations: 0 / 0.6993 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.4948, allocations: 1.563 MB / 0.7008 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/0.4956, allocations: 398 kB / 0.7012 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.4958, allocations: 15.94 kB / 0.7012 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/0.4967, allocations: 75.78 kB / 0.7013 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4968, allocations: 56.48 kB / 0.7013 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.4969, allocations: 27.98 kB / 0.7014 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001859/0.4987, allocations: 1.465 MB / 0.7028 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4987, allocations: 0 / 0.7028 GB, free: 13.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002351/0.5011, allocations: 1.025 MB / 0.7038 GB, free: 12.09 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.001721/0.5028, allocations: 0.8707 MB / 0.7047 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003704/0.5065, allocations: 2.094 MB / 0.7067 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5066, allocations: 0 / 0.7067 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.5076, allocations: 0.5412 MB / 0.7072 GB, free: 8.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.5107, allocations: 0.9663 MB / 0.7082 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.5161, allocations: 3.609 MB / 0.7117 GB, free: 4.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.5172, allocations: 1.542 MB / 0.7132 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001648/0.5189, allocations: 0.5241 MB / 0.7137 GB, free: 2.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/0.5193, allocations: 163.4 kB / 0.7139 GB, free: 1.871 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.5193, allocations: 3.938 kB / 0.7139 GB, free: 1.867 MB / 0.545 GB Notification: Performance of Templates: time 0.281/0.8003, allocations: 39.25 MB / 0.7522 GB, free: 164.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)