Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009185/0.0009187, allocations: 183.6 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007987/0.0007988, allocations: 85.25 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003395, allocations: 15.38 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1968, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.03764/0.2344, allocations: 52.02 MB / 0.9523 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02412/0.2586, allocations: 17.9 MB / 0.9697 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.2621, allocations: 71.56 kB / 0.9698 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.2656, allocations: 0.9835 MB / 0.9708 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007083/0.2727, allocations: 2.141 MB / 0.9729 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008658/0.2813, allocations: 3.065 MB / 0.9758 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00775/0.2891, allocations: 6.007 MB / 0.9817 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.2916, allocations: 1.362 MB / 0.983 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.2954, allocations: 1.626 MB / 0.9846 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.298, allocations: 1.334 MB / 0.9859 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003861/0.2984, allocations: 68 kB / 0.986 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003968/0.3024, allocations: 1.801 MB / 0.9878 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007343/0.3031, allocations: 438.1 kB / 0.9882 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.3047, allocations: 0.9532 MB / 0.9891 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.3085, allocations: 2.529 MB / 0.9916 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3086, allocations: 0 / 0.9916 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3086, allocations: 0 / 0.9916 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.689e-05/0.3086, allocations: 0 / 0.9916 GB, free: 2.918 MB / 0.6355 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.004249/0.3129, allocations: 2.214 MB / 0.9937 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3129, allocations: 8.031 kB / 0.9937 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.315, allocations: 0.4898 MB / 0.9942 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003278/0.3183, allocations: 1.643 MB / 0.9958 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/0.3187, allocations: 154.2 kB / 0.996 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.3189, allocations: 124 kB / 0.9961 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.3216, allocations: 1.399 MB / 0.9975 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.3216, allocations: 7.938 kB / 0.9975 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3217, allocations: 51.98 kB / 0.9975 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.3218, allocations: 28 kB / 0.9975 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/0.3244, allocations: 1.136 MB / 0.9987 GB, free: 11.44 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.009257/0.3337, allocations: 7.002 MB / 1.005 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.3364, allocations: 1.442 MB / 1.007 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000983/0.3374, allocations: 444.4 kB / 1.007 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004758/0.3422, allocations: 3.074 MB / 1.01 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.3432, allocations: 470.8 kB / 1.011 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005201/0.3438, allocations: 83.19 kB / 1.011 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 2.966e-06/0.3438, allocations: 0 / 1.011 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.003276/0.3471, allocations: 1.299 MB / 1.012 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.3472, allocations: 137.1 kB / 1.012 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.3493, allocations: 1.594 MB / 1.014 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/0.3494, allocations: 41.7 kB / 1.014 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007434/0.3501, allocations: 0.8881 MB / 1.015 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.3503, allocations: 216.9 kB / 1.015 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.3504, allocations: 20 kB / 1.015 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3505, allocations: 345.9 kB / 1.015 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009531/0.3515, allocations: 413.8 kB / 1.016 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.3527, allocations: 0.8203 MB / 1.016 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.3548, allocations: 1.171 MB / 1.018 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3549, allocations: 4 kB / 1.018 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002817/0.3577, allocations: 1.368 MB / 1.019 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.358, allocations: 445.3 kB / 1.019 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.358, allocations: 12 kB / 1.019 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.3581, allocations: 16 kB / 1.019 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009991/0.3591, allocations: 267.5 kB / 1.02 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/0.3591, allocations: 27.92 kB / 1.02 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.3605, allocations: 140.3 kB / 1.02 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3606, allocations: 55.98 kB / 1.02 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.3606, allocations: 4 kB / 1.02 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002388/0.363, allocations: 1.161 MB / 1.021 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.3631, allocations: 23.95 kB / 1.021 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3631, allocations: 16 kB / 1.021 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/0.364, allocations: 259.7 kB / 1.021 GB, free: 2.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.3641, allocations: 27.86 kB / 1.021 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3653, allocations: 120.6 kB / 1.021 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.3654, allocations: 51.98 kB / 1.021 GB, free: 2.445 MB / 0.6667 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 (121): * Single equations (assignments): 117 * Array equations: 2 * 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.0008561/0.3663, allocations: 484.6 kB / 1.022 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.3666, allocations: 169.8 kB / 1.022 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.3692, allocations: 1.171 MB / 1.023 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.3693, allocations: 8 kB / 1.023 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.3693, allocations: 11.88 kB / 1.023 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001988/0.3713, allocations: 1.009 MB / 1.024 GB, free: 15.53 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.004501/0.3758, allocations: 2.441 MB / 1.027 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3758, allocations: 0 / 1.027 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/0.3766, allocations: 151.9 kB / 1.027 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001903/0.3768, allocations: 40.83 kB / 1.027 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.3768, allocations: 19.98 kB / 1.027 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.378, allocations: 1.374 MB / 1.028 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.378, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.3813, allocations: 1.631 MB / 1.03 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006995/0.3821, allocations: 354.6 kB / 1.03 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.3823, allocations: 16 kB / 1.03 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/0.3833, allocations: 115.8 kB / 1.03 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3834, allocations: 52.44 kB / 1.03 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.3835, allocations: 35.97 kB / 1.03 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00157/0.3851, allocations: 1.129 MB / 1.031 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3851, allocations: 0 / 1.031 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002717/0.3878, allocations: 0.9161 MB / 1.032 GB, free: 6.988 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001853/0.3897, allocations: 0.7324 MB / 1.033 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003722/0.3934, allocations: 1.738 MB / 1.035 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3935, allocations: 4.25 kB / 1.035 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3947, allocations: 0.5682 MB / 1.035 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/0.3986, allocations: 0.7602 MB / 1.036 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/0.4048, allocations: 3.91 MB / 1.04 GB, free: 15.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.4058, allocations: 1.368 MB / 1.041 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/0.4064, allocations: 155.4 kB / 1.041 GB, free: 13.75 MB / 0.698 GB Notification: Performance of SimCode: time 9.41e-07/0.4064, allocations: 0 / 1.041 GB, free: 13.75 MB / 0.698 GB Notification: Performance of Templates: time 0.4223/0.8288, allocations: 33.95 MB / 1.074 GB, free: 134.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)