Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.705/0.705, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009822/0.0009822, allocations: 181.2 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 394.8 MB, free: 20.97 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007421/0.0007421, allocations: 104 kB / 470.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003967, allocations: 12 kB / 0.5423 GB, free: 6.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3216, allocations: 74.54 MB / 0.6151 GB, free: 54.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.349, allocations: 415.9 MB / 1.021 GB, free: 231 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.349, allocations: 100.8 kB / 1.021 GB, free: 231 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.664/5.013, allocations: 1.12 GB / 2.142 GB, free: 78.86 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.443e-06/5.013, allocations: 0 / 2.142 GB, free: 78.86 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003625/5.014, allocations: 48.66 kB / 2.142 GB, free: 78.85 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.007635/5.022, allocations: 2.567 MB / 2.144 GB, free: 76.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/5.022, allocations: 10.72 kB / 2.144 GB, free: 76.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/5.024, allocations: 462.2 kB / 2.145 GB, free: 76.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006874/5.031, allocations: 2.36 MB / 2.147 GB, free: 75.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/5.031, allocations: 93.77 kB / 2.147 GB, free: 75.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/5.032, allocations: 130.3 kB / 2.147 GB, free: 75.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/5.035, allocations: 1.388 MB / 2.148 GB, free: 74.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/5.035, allocations: 3.938 kB / 2.148 GB, free: 74.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/5.036, allocations: 55.23 kB / 2.148 GB, free: 74.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/5.036, allocations: 38.16 kB / 2.148 GB, free: 74.08 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/5.038, allocations: 0.9948 MB / 2.149 GB, free: 73.59 MB / 0.6511 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.009187/5.047, allocations: 7.225 MB / 2.157 GB, free: 65.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/5.049, allocations: 1.277 MB / 2.158 GB, free: 64.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/5.05, allocations: 352.4 kB / 2.158 GB, free: 64.17 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004319/5.054, allocations: 2.682 MB / 2.161 GB, free: 61.22 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/5.056, allocations: 453.5 kB / 2.161 GB, free: 60.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007279/5.056, allocations: 85.03 kB / 2.161 GB, free: 60.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=57): time 3.607e-06/5.056, allocations: 0 / 2.161 GB, free: 60.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57): time 0.003027/5.059, allocations: 1.218 MB / 2.162 GB, free: 59.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/5.059, allocations: 188.5 kB / 2.163 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/5.062, allocations: 1.544 MB / 2.164 GB, free: 57.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.987e-05/5.062, allocations: 45.69 kB / 2.164 GB, free: 57.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/5.063, allocations: 0.9248 MB / 2.165 GB, free: 56.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/5.063, allocations: 204.8 kB / 2.165 GB, free: 56.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/5.063, allocations: 16 kB / 2.165 GB, free: 56.47 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/5.063, allocations: 349.9 kB / 2.166 GB, free: 56.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/5.064, allocations: 335.2 kB / 2.166 GB, free: 55.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009245/5.065, allocations: 0.8017 MB / 2.167 GB, free: 54.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/5.066, allocations: 1.096 MB / 2.168 GB, free: 53.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/5.066, allocations: 4 kB / 2.168 GB, free: 53.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00248/5.069, allocations: 1.251 MB / 2.169 GB, free: 52.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002529/5.069, allocations: 484.1 kB / 2.169 GB, free: 51.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/5.069, allocations: 12 kB / 2.169 GB, free: 51.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/5.069, allocations: 20 kB / 2.169 GB, free: 51.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009472/5.07, allocations: 259.5 kB / 2.17 GB, free: 51.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/5.07, allocations: 31.86 kB / 2.17 GB, free: 51.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/5.072, allocations: 123.7 kB / 2.17 GB, free: 51.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/5.072, allocations: 59.97 kB / 2.17 GB, free: 51.13 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/5.072, allocations: 4 kB / 2.17 GB, free: 51.12 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001848/5.074, allocations: 1.036 MB / 2.171 GB, free: 50.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/5.074, allocations: 12.69 kB / 2.171 GB, free: 50.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/5.074, allocations: 16 kB / 2.171 GB, free: 50.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/5.075, allocations: 251.5 kB / 2.171 GB, free: 49.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/5.075, allocations: 23.94 kB / 2.171 GB, free: 49.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/5.076, allocations: 110.9 kB / 2.171 GB, free: 49.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/5.076, allocations: 55.98 kB / 2.171 GB, free: 49.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009866/5.077, allocations: 497.8 kB / 2.172 GB, free: 49.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/5.077, allocations: 169.8 kB / 2.172 GB, free: 48.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/5.08, allocations: 1.095 MB / 2.173 GB, free: 47.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/5.08, allocations: 8 kB / 2.173 GB, free: 47.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/5.08, allocations: 0 / 2.173 GB, free: 47.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/5.081, allocations: 0.9513 MB / 2.174 GB, free: 46.82 MB / 0.6511 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 postOpt removeSimpleEquations (simulation): time 0.004409/5.086, allocations: 2.235 MB / 2.176 GB, free: 44.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/5.086, allocations: 4 kB / 2.176 GB, free: 44.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/5.086, allocations: 127.8 kB / 2.176 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001415/5.087, allocations: 28.84 kB / 2.176 GB, free: 44.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.704e-05/5.087, allocations: 19.98 kB / 2.176 GB, free: 44.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007548/5.087, allocations: 1.302 MB / 2.178 GB, free: 42.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/5.087, allocations: 0 / 2.178 GB, free: 42.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/5.09, allocations: 1.475 MB / 2.179 GB, free: 41.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008866/5.091, allocations: 338.6 kB / 2.179 GB, free: 41.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005618/5.092, allocations: 12 kB / 2.179 GB, free: 41.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/5.093, allocations: 99.84 kB / 2.18 GB, free: 40.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/5.093, allocations: 52.48 kB / 2.18 GB, free: 40.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/5.093, allocations: 23.98 kB / 2.18 GB, free: 40.85 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002642/5.096, allocations: 1.083 MB / 2.181 GB, free: 39.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.91e-07/5.096, allocations: 3.938 kB / 2.181 GB, free: 39.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005192/5.101, allocations: 0.9903 MB / 2.182 GB, free: 38.75 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[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 (65): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002901/5.104, allocations: 1.315 MB / 2.183 GB, free: 37.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003063/5.107, allocations: 1.543 MB / 2.184 GB, free: 36.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/5.107, allocations: 0 / 2.184 GB, free: 36.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009939/5.108, allocations: 0.4913 MB / 2.185 GB, free: 35.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/5.112, allocations: 0.7558 MB / 2.186 GB, free: 34.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/5.118, allocations: 3.685 MB / 2.189 GB, free: 31.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/5.119, allocations: 1.376 MB / 2.191 GB, free: 29.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00228/5.121, allocations: 436.5 kB / 2.191 GB, free: 29.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/5.122, allocations: 139.4 kB / 2.191 GB, free: 29.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/5.122, allocations: 0 / 2.191 GB, free: 29.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.05357/5.175, allocations: 36.52 MB / 2.227 GB, free: 9.301 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)