Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 113.1 kB / 17.04 MB, free: 5.812 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.001248/0.001249, allocations: 195 kB / 17.98 MB, free: 5.027 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.269/1.269, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6797/0.6797, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 59.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3226, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04227/0.3649, allocations: 53.68 MB / 0.61 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0239/0.3889, allocations: 17.02 MB / 0.6266 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/0.3924, allocations: 87.5 kB / 0.6267 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008694/0.4011, allocations: 4.349 MB / 0.6309 GB, free: 9.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006898/0.408, allocations: 2.411 MB / 0.6333 GB, free: 6.852 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006099/0.4142, allocations: 2.294 MB / 0.6355 GB, free: 4.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.4251, allocations: 7.42 MB / 0.6428 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.428, allocations: 1.651 MB / 0.6444 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.4327, allocations: 1.882 MB / 0.6462 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.4352, allocations: 1.416 MB / 0.6476 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006019/0.4358, allocations: 172 kB / 0.6478 GB, free: 7.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004523/0.4403, allocations: 2.008 MB / 0.6497 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009809/0.4413, allocations: 0.6502 MB / 0.6504 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.443, allocations: 1.216 MB / 0.6516 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007776/0.4508, allocations: 3.894 MB / 0.6554 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4508, allocations: 0 / 0.6554 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4508, allocations: 0 / 0.6554 GB, free: 196 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.573e-05/0.4509, allocations: 0 / 0.6554 GB, free: 196 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.005014/0.4559, allocations: 2.936 MB / 0.6582 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.456, allocations: 8.031 kB / 0.6582 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.4584, allocations: 0.555 MB / 0.6588 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.4631, allocations: 2.692 MB / 0.6614 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/0.4632, allocations: 90.17 kB / 0.6615 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.4634, allocations: 124 kB / 0.6616 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.466, allocations: 1.359 MB / 0.6629 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.466, allocations: 3.938 kB / 0.6629 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4661, allocations: 48 kB / 0.663 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.4662, allocations: 42.08 kB / 0.663 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.4688, allocations: 1.101 MB / 0.6641 GB, free: 6.973 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.01099/0.4799, allocations: 7.446 MB / 0.6714 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.4822, allocations: 1.338 MB / 0.6727 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009282/0.4831, allocations: 430.8 kB / 0.6731 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005221/0.4884, allocations: 3.152 MB / 0.6762 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009818/0.4894, allocations: 426.9 kB / 0.6766 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=59): time 2.174e-06/0.4894, allocations: 0 / 0.6766 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59): time 0.002973/0.4923, allocations: 1.248 MB / 0.6778 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4924, allocations: 55.97 kB / 0.6778 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.495, allocations: 2.117 MB / 0.6799 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/0.4951, allocations: 37.7 kB / 0.6799 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008135/0.4959, allocations: 1.018 MB / 0.6809 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.4961, allocations: 216.9 kB / 0.6811 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/0.4965, allocations: 314.6 kB / 0.6814 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.4966, allocations: 305.1 kB / 0.6817 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.4977, allocations: 0.5415 MB / 0.6823 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.4991, allocations: 1 MB / 0.6832 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/0.5013, allocations: 1.448 MB / 0.6847 GB, free: 440 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.5014, allocations: 4 kB / 0.6847 GB, free: 436 kB / 0.5137 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003337/0.5047, allocations: 1.774 MB / 0.6864 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.5048, allocations: 42.33 kB / 0.6864 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5048, allocations: 12 kB / 0.6864 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.5048, allocations: 20.09 kB / 0.6865 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.5059, allocations: 315.4 kB / 0.6868 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/0.506, allocations: 23.94 kB / 0.6868 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.5072, allocations: 182.5 kB / 0.687 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.951e-05/0.5073, allocations: 63.98 kB / 0.687 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001671/0.509, allocations: 0.9717 MB / 0.688 GB, free: 13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001306/0.5103, allocations: 0.9882 MB / 0.6889 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002137/0.5125, allocations: 1.443 MB / 0.6903 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.412e-06/0.5125, allocations: 4 kB / 0.6904 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003046/0.5155, allocations: 1.765 MB / 0.6921 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.5156, allocations: 41.62 kB / 0.6921 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.5156, allocations: 12 kB / 0.6921 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.5156, allocations: 20 kB / 0.6921 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5167, allocations: 312.2 kB / 0.6924 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.5167, allocations: 23.92 kB / 0.6925 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.5179, allocations: 155 kB / 0.6926 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.683e-05/0.518, allocations: 59.98 kB / 0.6927 GB, free: 7.82 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.0002796/0.5183, allocations: 262.4 kB / 0.6929 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.5186, allocations: 209.3 kB / 0.6931 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.5211, allocations: 1.128 MB / 0.6942 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.5211, allocations: 11.98 kB / 0.6942 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5211, allocations: 3.938 kB / 0.6942 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001816/0.523, allocations: 0.9504 MB / 0.6952 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004848/0.5278, allocations: 2.617 MB / 0.6977 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5279, allocations: 0 / 0.6977 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000759/0.5286, allocations: 147.8 kB / 0.6979 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.5288, allocations: 32.84 kB / 0.6979 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.5289, allocations: 19.98 kB / 0.6979 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.5299, allocations: 1.417 MB / 0.6993 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-05/0.53, allocations: 7.969 kB / 0.6993 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00337/0.5334, allocations: 1.571 MB / 0.7008 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008327/0.5342, allocations: 394.1 kB / 0.7012 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.5345, allocations: 16 kB / 0.7012 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/0.5354, allocations: 67.86 kB / 0.7013 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.5355, allocations: 56.44 kB / 0.7013 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/0.5356, allocations: 27.97 kB / 0.7014 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001943/0.5376, allocations: 1.469 MB / 0.7028 GB, free: 13.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5376, allocations: 0 / 0.7028 GB, free: 13.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002297/0.5399, allocations: 1.029 MB / 0.7038 GB, free: 12.05 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,coo.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.001683/0.5416, allocations: 0.8723 MB / 0.7047 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003798/0.5454, allocations: 2.095 MB / 0.7067 GB, free: 9.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.5454, allocations: 4.188 kB / 0.7067 GB, free: 9.227 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.5465, allocations: 0.5292 MB / 0.7072 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/0.5497, allocations: 0.9706 MB / 0.7082 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/0.555, allocations: 3.609 MB / 0.7117 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.556, allocations: 1.535 MB / 0.7132 GB, free: 2.531 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001654/0.5577, allocations: 0.5241 MB / 0.7137 GB, free: 2.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.5581, allocations: 179.3 kB / 0.7139 GB, free: 1.828 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.5581, allocations: 0 / 0.7139 GB, free: 1.828 MB / 0.545 GB Notification: Performance of Templates: time 0.2629/0.821, allocations: 39.25 MB / 0.7522 GB, free: 162 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)