Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.000823/0.0008226, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000995/0.0009951, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005772/0.0005774, allocations: 12.5 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2023, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04592/0.2483, allocations: 49.17 MB / 0.8353 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.2697, allocations: 16.62 MB / 0.8515 GB, free: 9.977 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.272, allocations: 79.5 kB / 0.8516 GB, free: 9.898 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.2743, allocations: 0.7875 MB / 0.8524 GB, free: 9.109 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.2795, allocations: 1.886 MB / 0.8542 GB, free: 7.223 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007709/0.2872, allocations: 2.731 MB / 0.8569 GB, free: 4.512 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00662/0.2938, allocations: 5.174 MB / 0.8619 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.296, allocations: 1.234 MB / 0.8631 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.2993, allocations: 1.548 MB / 0.8647 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.3012, allocations: 1.252 MB / 0.8659 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.3014, allocations: 72 kB / 0.8659 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.3046, allocations: 1.509 MB / 0.8674 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.305, allocations: 426.2 kB / 0.8678 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.3056, allocations: 404.6 kB / 0.8682 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.3083, allocations: 2.502 MB / 0.8707 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3083, allocations: 0 / 0.8707 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3083, allocations: 0 / 0.8707 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.3084, allocations: 0 / 0.8707 GB, free: 6.344 MB / 0.6856 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.003594/0.312, allocations: 2.241 MB / 0.8728 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.312, allocations: 8.031 kB / 0.8728 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.3138, allocations: 489 kB / 0.8733 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.3165, allocations: 1.586 MB / 0.8749 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003138/0.3169, allocations: 162.1 kB / 0.875 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.317, allocations: 124 kB / 0.8751 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.3194, allocations: 1.392 MB / 0.8765 GB, free: 140 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.3194, allocations: 3.938 kB / 0.8765 GB, free: 136 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.3195, allocations: 48 kB / 0.8765 GB, free: 88 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.3196, allocations: 31.98 kB / 0.8766 GB, free: 56 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.3219, allocations: 1.124 MB / 0.8777 GB, free: 14.92 MB / 0.7012 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.0076/0.3295, allocations: 7.014 MB / 0.8845 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.3318, allocations: 1.434 MB / 0.8859 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008678/0.3327, allocations: 434.3 kB / 0.8863 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004068/0.3367, allocations: 3.075 MB / 0.8893 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009471/0.3377, allocations: 462.9 kB / 0.8898 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003848/0.3381, allocations: 91.25 kB / 0.8899 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.365e-06/0.3381, allocations: 0 / 0.8899 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.002803/0.3409, allocations: 1.295 MB / 0.8911 GB, free: 104 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.341, allocations: 137.1 kB / 0.8913 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.343, allocations: 1.574 MB / 0.8928 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.3431, allocations: 45.7 kB / 0.8928 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006949/0.3438, allocations: 0.892 MB / 0.8937 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.344, allocations: 216.9 kB / 0.8939 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.3441, allocations: 20 kB / 0.8939 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3442, allocations: 341.9 kB / 0.8943 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008655/0.3451, allocations: 401.7 kB / 0.8947 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.3462, allocations: 0.7931 MB / 0.8954 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3473, allocations: 0.5045 MB / 0.8959 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.3473, allocations: 4 kB / 0.8959 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002819/0.3501, allocations: 1.341 MB / 0.8972 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003306/0.3505, allocations: 441.1 kB / 0.8977 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.3505, allocations: 12 kB / 0.8977 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.739e-05/0.3506, allocations: 16 kB / 0.8977 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/0.3515, allocations: 267.6 kB / 0.8979 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/0.3516, allocations: 19.94 kB / 0.898 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.3528, allocations: 140.4 kB / 0.8981 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.3529, allocations: 51.98 kB / 0.8981 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.3529, allocations: 4 kB / 0.8981 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002536/0.3555, allocations: 1.173 MB / 0.8993 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.3555, allocations: 12 kB / 0.8993 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.3555, allocations: 20.53 kB / 0.8993 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/0.3565, allocations: 267.6 kB / 0.8996 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-05/0.3566, allocations: 31.86 kB / 0.8996 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.3577, allocations: 132.5 kB / 0.8997 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.3579, allocations: 51.98 kB / 0.8998 GB, free: 6.824 MB / 0.7169 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 (122): * Single equations (assignments): 118 * 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.000793/0.3587, allocations: 488 kB / 0.9002 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.359, allocations: 165.8 kB / 0.9004 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.3617, allocations: 1.175 MB / 0.9015 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.3617, allocations: 11.98 kB / 0.9016 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.3617, allocations: 0 / 0.9016 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001789/0.3635, allocations: 1.009 MB / 0.9025 GB, free: 3.918 MB / 0.7169 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.00441/0.3679, allocations: 2.445 MB / 0.9049 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.368, allocations: 0 / 0.9049 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.3687, allocations: 151.9 kB / 0.9051 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.3689, allocations: 36.73 kB / 0.9051 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.615e-05/0.369, allocations: 27.98 kB / 0.9051 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3702, allocations: 1.359 MB / 0.9065 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3703, allocations: 12 kB / 0.9065 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/0.3735, allocations: 1.616 MB / 0.9081 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007121/0.3742, allocations: 354.6 kB / 0.9084 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/0.3745, allocations: 20 kB / 0.9084 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.3755, allocations: 115.8 kB / 0.9085 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3757, allocations: 56.48 kB / 0.9086 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/0.3757, allocations: 27.97 kB / 0.9086 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001712/0.3775, allocations: 1.114 MB / 0.9097 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3775, allocations: 4 kB / 0.9097 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002754/0.3802, allocations: 0.9202 MB / 0.9106 GB, free: 11.39 MB / 0.7325 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.001673/0.3819, allocations: 0.7433 MB / 0.9113 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003369/0.3853, allocations: 1.724 MB / 0.913 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3853, allocations: 1.75 kB / 0.913 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3865, allocations: 0.5798 MB / 0.9136 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.3894, allocations: 0.744 MB / 0.9143 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/0.395, allocations: 3.78 MB / 0.918 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.3961, allocations: 1.372 MB / 0.9193 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00159/0.3977, allocations: 414.3 kB / 0.9197 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.398, allocations: 139.4 kB / 0.9199 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.398, allocations: 0 / 0.9199 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of Templates: time 0.3929/0.791, allocations: 31.15 MB / 0.9503 GB, free: 119.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) Environment - environmentSimulation: