Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 288.3 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001089, allocations: 179.5 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 97.58 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 12.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.03874/0.2847, allocations: 44.85 MB / 1.023 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02538/0.3101, allocations: 15.63 MB / 1.038 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003864/0.314, allocations: 67.5 kB / 1.039 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003983/0.3181, allocations: 0.9712 MB / 1.039 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009177/0.3273, allocations: 2.318 MB / 1.042 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009527/0.3368, allocations: 3.002 MB / 1.045 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006278/0.3431, allocations: 2.768 MB / 1.047 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00287/0.346, allocations: 1.242 MB / 1.049 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003536/0.3495, allocations: 1.362 MB / 1.05 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.3516, allocations: 0.9137 MB / 1.051 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.3519, allocations: 68 kB / 1.051 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.3555, allocations: 1.377 MB / 1.052 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005249/0.356, allocations: 394.4 kB / 1.053 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007237/0.3568, allocations: 408.6 kB / 1.053 GB, free: 204 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003925/0.3607, allocations: 2.439 MB / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3607, allocations: 4 kB / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3607, allocations: 0 / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.019e-05/0.3608, allocations: 0 / 1.055 GB, free: 13.75 MB / 0.6823 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.004647/0.3654, allocations: 2.233 MB / 1.058 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3655, allocations: 12.03 kB / 1.058 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.3677, allocations: 481 kB / 1.058 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00371/0.3714, allocations: 1.528 MB / 1.06 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/0.3719, allocations: 162.1 kB / 1.06 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.3721, allocations: 124 kB / 1.06 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.3752, allocations: 1.372 MB / 1.061 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.3752, allocations: 3.938 kB / 1.061 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.3753, allocations: 48 kB / 1.061 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.3754, allocations: 32 kB / 1.061 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.378, allocations: 1.117 MB / 1.062 GB, free: 6.426 MB / 0.6823 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.4853/0.8634, allocations: 7.144 MB / 1.069 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.8663, allocations: 1.416 MB / 1.071 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005232/0.8716, allocations: 3.092 MB / 1.074 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.8728, allocations: 454.4 kB / 1.074 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006035/0.8734, allocations: 93.88 kB / 1.074 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 5.35e-06/0.8734, allocations: 1.875 kB / 1.074 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.003432/0.8769, allocations: 1.284 MB / 1.075 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.8769, allocations: 138.3 kB / 1.076 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.8797, allocations: 1.6 MB / 1.077 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.835e-05/0.8798, allocations: 44.11 kB / 1.077 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007923/0.8806, allocations: 0.892 MB / 1.078 GB, free: 81.49 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.8808, allocations: 219 kB / 1.078 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.8809, allocations: 20.38 kB / 1.078 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.881, allocations: 343.3 kB / 1.079 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.882, allocations: 390.8 kB / 1.079 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.8833, allocations: 0.7913 MB / 1.08 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.8845, allocations: 0.4972 MB / 1.08 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.8846, allocations: 3.5 kB / 1.08 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003329/0.8879, allocations: 1.332 MB / 1.082 GB, free: 79.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009034/0.8888, allocations: 4.373 MB / 1.086 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/0.8889, allocations: 12.64 kB / 1.086 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.04e-05/0.8889, allocations: 17.78 kB / 1.086 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.8901, allocations: 270.8 kB / 1.086 GB, free: 74.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.545e-05/0.8902, allocations: 25 kB / 1.086 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.8918, allocations: 131.7 kB / 1.086 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.892, allocations: 66.12 kB / 1.086 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.892, allocations: 4.188 kB / 1.086 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003151/0.8952, allocations: 1.158 MB / 1.087 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.8953, allocations: 12.36 kB / 1.087 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.8953, allocations: 25.89 kB / 1.088 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.8964, allocations: 266.6 kB / 1.088 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.894e-05/0.8964, allocations: 26.02 kB / 1.088 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.8982, allocations: 130.1 kB / 1.088 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.8984, allocations: 52.97 kB / 1.088 GB, free: 74.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (123): * Single equations (assignments): 119 * 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.001173/0.8996, allocations: 485.8 kB / 1.088 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.9, allocations: 167.1 kB / 1.089 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.903, allocations: 1.168 MB / 1.09 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.903, allocations: 8.781 kB / 1.09 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.903, allocations: 1.875 kB / 1.09 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002023/0.9051, allocations: 0.9954 MB / 1.091 GB, free: 73.03 MB / 0.6823 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.00635/0.9114, allocations: 2.475 MB / 1.093 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.9115, allocations: 3.953 kB / 1.093 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009315/0.9125, allocations: 156.9 kB / 1.093 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.9128, allocations: 34.84 kB / 1.093 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/0.9129, allocations: 24.08 kB / 1.093 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.9143, allocations: 1.382 MB / 1.095 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.9144, allocations: 1.188 kB / 1.095 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.9185, allocations: 1.639 MB / 1.096 GB, free: 69.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.9197, allocations: 360.5 kB / 1.097 GB, free: 69.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.9199, allocations: 18.48 kB / 1.097 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.921, allocations: 120.1 kB / 1.097 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.9212, allocations: 62.61 kB / 1.097 GB, free: 69.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/0.9213, allocations: 30.05 kB / 1.097 GB, free: 69.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002096/0.9234, allocations: 1.139 MB / 1.098 GB, free: 68.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9234, allocations: 3.375 kB / 1.098 GB, free: 68.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004215/0.9276, allocations: 0.9386 MB / 1.099 GB, free: 68.8 MB / 0.6823 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.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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002235/0.9299, allocations: 0.7701 MB / 1.1 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004446/0.9344, allocations: 1.71 MB / 1.101 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.9344, allocations: 0.5625 kB / 1.101 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.9358, allocations: 0.5701 MB / 1.102 GB, free: 67.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/0.9401, allocations: 0.7335 MB / 1.103 GB, free: 67.47 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/0.9469, allocations: 3.77 MB / 1.106 GB, free: 65.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009541/0.9478, allocations: 1.41 MB / 1.108 GB, free: 64.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002174/0.95, allocations: 427 kB / 1.108 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.9505, allocations: 142 kB / 1.108 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/0.9505, allocations: 0 / 1.108 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of Templates: time 0.05728/1.008, allocations: 31.7 MB / 1.139 GB, free: 43.24 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)