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.001653/0.001653, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001905/0.001905, allocations: 195.4 kB / 16.91 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 222.8 MB, free: 4.898 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.695/1.695, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001397/0.001397, allocations: 71.84 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2387, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05184/0.2906, allocations: 52.95 MB / 0.8352 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02737/0.318, allocations: 17.64 MB / 0.8524 GB, free: 7.094 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004028/0.3221, allocations: 79.5 kB / 0.8525 GB, free: 7.016 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003914/0.3261, allocations: 1.026 MB / 0.8535 GB, free: 5.984 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007112/0.3332, allocations: 2.154 MB / 0.8556 GB, free: 3.828 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009671/0.3429, allocations: 3.315 MB / 0.8589 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007953/0.3509, allocations: 4.688 MB / 0.8634 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0032/0.3541, allocations: 1.635 MB / 0.865 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005336/0.3595, allocations: 1.943 MB / 0.8669 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.3621, allocations: 1.416 MB / 0.8683 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004886/0.3626, allocations: 168 kB / 0.8685 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004383/0.367, allocations: 1.977 MB / 0.8704 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008315/0.3679, allocations: 0.5217 MB / 0.8709 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.3697, allocations: 1.049 MB / 0.8719 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004654/0.3743, allocations: 2.608 MB / 0.8745 GB, free: 472 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3744, allocations: 0 / 0.8745 GB, free: 472 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3744, allocations: 0 / 0.8745 GB, free: 472 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.828e-05/0.3745, allocations: 0 / 0.8745 GB, free: 472 kB / 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.005299/0.3798, allocations: 2.564 MB / 0.877 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3798, allocations: 12.03 kB / 0.877 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/0.382, allocations: 457 kB / 0.8774 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/0.3856, allocations: 1.647 MB / 0.8791 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.386, allocations: 150.2 kB / 0.8792 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.3862, allocations: 119.9 kB / 0.8793 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.3892, allocations: 1.375 MB / 0.8807 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.3893, allocations: 7.875 kB / 0.8807 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.3894, allocations: 48 kB / 0.8807 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/0.3895, allocations: 31.98 kB / 0.8807 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.3921, allocations: 1.093 MB / 0.8818 GB, free: 8.742 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.01147/0.4036, allocations: 6.909 MB / 0.8886 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.4065, allocations: 1.397 MB / 0.8899 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009856/0.4075, allocations: 414.3 kB / 0.8903 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004963/0.4125, allocations: 3.004 MB / 0.8932 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.4137, allocations: 450.9 kB / 0.8937 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006091/0.4143, allocations: 75.27 kB / 0.8937 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 4.729e-06/0.4143, allocations: 0 / 0.8937 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.003457/0.4178, allocations: 1.237 MB / 0.895 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.4179, allocations: 115.4 kB / 0.8951 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.4206, allocations: 1.55 MB / 0.8966 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.4208, allocations: 37.7 kB / 0.8966 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008749/0.4216, allocations: 0.8879 MB / 0.8975 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.4219, allocations: 216.9 kB / 0.8977 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003898/0.4223, allocations: 214.4 kB / 0.8979 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4225, allocations: 353.9 kB / 0.8982 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.4235, allocations: 400.9 kB / 0.8986 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.4249, allocations: 0.791 MB / 0.8994 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.4273, allocations: 1.168 MB / 0.9005 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.4274, allocations: 0 / 0.9005 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003372/0.4308, allocations: 1.34 MB / 0.9018 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.467e-05/0.4309, allocations: 45.69 kB / 0.9019 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.4309, allocations: 12 kB / 0.9019 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.78e-05/0.4309, allocations: 16.62 kB / 0.9019 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.432, allocations: 263.6 kB / 0.9022 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.36e-05/0.4321, allocations: 23.88 kB / 0.9022 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.4336, allocations: 120.4 kB / 0.9023 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.4338, allocations: 59.97 kB / 0.9024 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001721/0.4355, allocations: 0.6935 MB / 0.903 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00132/0.4368, allocations: 0.787 MB / 0.9038 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002276/0.4391, allocations: 1.133 MB / 0.9049 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.086e-05/0.4391, allocations: 4 kB / 0.9049 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.003202/0.4424, allocations: 1.313 MB / 0.9062 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.4424, allocations: 41.7 kB / 0.9062 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.4425, allocations: 12 kB / 0.9062 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4425, allocations: 16 kB / 0.9063 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4435, allocations: 263.8 kB / 0.9065 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.659e-05/0.4436, allocations: 23.92 kB / 0.9065 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.445, allocations: 124.4 kB / 0.9066 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.4452, allocations: 55.98 kB / 0.9067 GB, free: 13.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (123): * Single equations (assignments): 119 * 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.0003682/0.4455, allocations: 252.7 kB / 0.9069 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/0.446, allocations: 165.8 kB / 0.9071 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.449, allocations: 1.132 MB / 0.9082 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.4491, allocations: 15.94 kB / 0.9082 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.4491, allocations: 0 / 0.9082 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002013/0.4511, allocations: 0.9782 MB / 0.9092 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/0.4566, allocations: 2.378 MB / 0.9115 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.4566, allocations: 0 / 0.9115 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008029/0.4575, allocations: 147.8 kB / 0.9116 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.4577, allocations: 32.83 kB / 0.9117 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/0.4578, allocations: 31.92 kB / 0.9117 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.4592, allocations: 1.465 MB / 0.9131 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4593, allocations: 0 / 0.9131 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003657/0.4629, allocations: 1.573 MB / 0.9147 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008406/0.4638, allocations: 334.7 kB / 0.915 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004677/0.4643, allocations: 16 kB / 0.915 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.4656, allocations: 107.7 kB / 0.9151 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.4657, allocations: 60.42 kB / 0.9152 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.4658, allocations: 31.97 kB / 0.9152 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002138/0.468, allocations: 1.09 MB / 0.9163 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.615e-06/0.468, allocations: 4 kB / 0.9163 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003612/0.4716, allocations: 0.9161 MB / 0.9172 GB, free: 2.352 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 (70): * Single equations (assignments): 61 * 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.002202/0.4738, allocations: 0.7576 MB / 0.9179 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3788/0.8526, allocations: 1.765 MB / 0.9196 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/0.8527, allocations: 1.375 kB / 0.9196 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.8545, allocations: 0.5576 MB / 0.9202 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/0.8591, allocations: 0.7834 MB / 0.9209 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.8663, allocations: 3.828 MB / 0.9247 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/0.8672, allocations: 1.374 MB / 0.926 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.8678, allocations: 144.9 kB / 0.9261 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.8678, allocations: 0 / 0.9261 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.05736/0.9252, allocations: 34.17 MB / 0.9595 GB, free: 117.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (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)