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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.00122/0.00122, allocations: 194 kB / 376.9 MB, free: 1.844 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.479/1.479, allocations: 205.1 MB / 0.6354 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 96.72 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 55.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 114.5 MB / 0.9822 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.5397/0.8141, allocations: 53.07 MB / 1.034 GB, free: 63.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02695/0.8411, allocations: 18.16 MB / 1.052 GB, free: 62.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0042/0.8454, allocations: 81.38 kB / 1.052 GB, free: 62.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004025/0.8495, allocations: 0.987 MB / 1.053 GB, free: 62.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007996/0.8575, allocations: 2.134 MB / 1.055 GB, free: 62.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01288/0.8703, allocations: 3.042 MB / 1.058 GB, free: 61.94 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.8804, allocations: 6.069 MB / 1.064 GB, free: 59.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003752/0.8842, allocations: 1.407 MB / 1.065 GB, free: 59.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.8896, allocations: 1.683 MB / 1.067 GB, free: 58.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003265/0.8929, allocations: 1.378 MB / 1.068 GB, free: 58.31 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007188/0.8937, allocations: 88.81 kB / 1.068 GB, free: 58.31 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005931/0.8996, allocations: 1.855 MB / 1.07 GB, free: 57.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000866/0.9005, allocations: 461.5 kB / 1.07 GB, free: 57.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.9026, allocations: 0.956 MB / 1.071 GB, free: 57.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.007201/0.9098, allocations: 3.367 MB / 1.075 GB, free: 55.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9098, allocations: 0 / 1.075 GB, free: 55.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9099, allocations: 0 / 1.075 GB, free: 55.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001239/0.91, allocations: 0 / 1.075 GB, free: 55.91 MB / 0.7448 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.006099/0.9161, allocations: 2.565 MB / 1.077 GB, free: 54.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.9161, allocations: 13.31 kB / 1.077 GB, free: 54.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.9184, allocations: 457.1 kB / 1.078 GB, free: 54.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.9222, allocations: 1.656 MB / 1.079 GB, free: 53.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.9226, allocations: 143.8 kB / 1.079 GB, free: 53.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.9228, allocations: 121.6 kB / 1.08 GB, free: 53.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.9256, allocations: 1.373 MB / 1.081 GB, free: 52.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.9256, allocations: 3.938 kB / 1.081 GB, free: 52.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.9257, allocations: 52.58 kB / 1.081 GB, free: 52.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.9258, allocations: 28.97 kB / 1.081 GB, free: 52.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.9284, allocations: 1.094 MB / 1.082 GB, free: 52.08 MB / 0.7448 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.008578/0.937, allocations: 6.924 MB / 1.089 GB, free: 46.85 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.9393, allocations: 1.379 MB / 1.09 GB, free: 45.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008967/0.9402, allocations: 419.2 kB / 1.091 GB, free: 45.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004143/0.9443, allocations: 2.993 MB / 1.093 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009785/0.9453, allocations: 449.1 kB / 1.094 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005359/0.9459, allocations: 80.94 kB / 1.094 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 3.968e-06/0.9459, allocations: 3.938 kB / 1.094 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.003025/0.9489, allocations: 1.236 MB / 1.095 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.949, allocations: 117.9 kB / 1.095 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/0.9511, allocations: 1.539 MB / 1.097 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.9512, allocations: 44.23 kB / 1.097 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006158/0.9518, allocations: 0.8941 MB / 1.098 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.952, allocations: 211.6 kB / 1.098 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.9523, allocations: 211.7 kB / 1.098 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.9524, allocations: 349.1 kB / 1.098 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000926/0.9533, allocations: 405 kB / 1.099 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.9544, allocations: 0.7935 MB / 1.1 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.9564, allocations: 1.159 MB / 1.101 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.9565, allocations: 3.969 kB / 1.101 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002772/0.9592, allocations: 1.344 MB / 1.102 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.9593, allocations: 37.92 kB / 1.102 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.9593, allocations: 9.688 kB / 1.102 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.9594, allocations: 19.06 kB / 1.102 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.9605, allocations: 268.3 kB / 1.102 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/0.9606, allocations: 20.03 kB / 1.102 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.962, allocations: 128.6 kB / 1.103 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.9621, allocations: 53.97 kB / 1.103 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001562/0.9637, allocations: 0.6916 MB / 1.103 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001274/0.965, allocations: 0.7782 MB / 1.104 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002346/0.9673, allocations: 1.128 MB / 1.105 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.099e-05/0.9674, allocations: 10.12 kB / 1.105 GB, free: 36.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.002695/0.9701, allocations: 1.31 MB / 1.106 GB, free: 36.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.9701, allocations: 43.52 kB / 1.106 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.9702, allocations: 16.62 kB / 1.106 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9702, allocations: 15.66 kB / 1.106 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/0.9711, allocations: 260.5 kB / 1.107 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.9712, allocations: 23.89 kB / 1.107 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.9723, allocations: 116.1 kB / 1.107 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/0.9724, allocations: 56.69 kB / 1.107 GB, free: 36.06 MB / 0.7448 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.0002527/0.9727, allocations: 251.3 kB / 1.107 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.973, allocations: 170.9 kB / 1.107 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.9755, allocations: 1.132 MB / 1.108 GB, free: 35.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.9755, allocations: 13.5 kB / 1.108 GB, free: 35.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.9755, allocations: 0 / 1.108 GB, free: 35.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001777/0.9773, allocations: 0.9626 MB / 1.109 GB, free: 34.81 MB / 0.7448 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.004274/0.9816, allocations: 2.382 MB / 1.112 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.9816, allocations: 3.25 kB / 1.112 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.9823, allocations: 145.9 kB / 1.112 GB, free: 33.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.9825, allocations: 31.27 kB / 1.112 GB, free: 33.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.9826, allocations: 29.78 kB / 1.112 GB, free: 33.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009498/0.9835, allocations: 1.362 MB / 1.113 GB, free: 32.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9835, allocations: 0 / 1.113 GB, free: 32.33 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1887/1.172, allocations: 39.16 MB / 1.151 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.174, allocations: 336.3 kB / 1.152 GB, free: 21.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005907/1.174, allocations: 14.55 kB / 1.152 GB, free: 21.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.176, allocations: 108.7 kB / 1.152 GB, free: 21.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/1.176, allocations: 48.8 kB / 1.152 GB, free: 21.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.176, allocations: 34.83 kB / 1.152 GB, free: 21.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002719/1.179, allocations: 1.09 MB / 1.153 GB, free: 20.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.7e-07/1.179, allocations: 5.594 kB / 1.153 GB, free: 20.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008688/1.187, allocations: 1.445 MB / 1.154 GB, free: 20.39 MB / 0.7448 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.002827/1.19, allocations: 0.8096 MB / 1.155 GB, free: 20.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004827/1.195, allocations: 1.702 MB / 1.157 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.195, allocations: 1.406 kB / 1.157 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/1.197, allocations: 0.5484 MB / 1.157 GB, free: 19.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004998/1.202, allocations: 0.7455 MB / 1.158 GB, free: 18.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/1.211, allocations: 4.303 MB / 1.162 GB, free: 16.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/1.212, allocations: 1.399 MB / 1.164 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003201/1.215, allocations: 472.6 kB / 1.164 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008677/1.216, allocations: 158 kB / 1.164 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/1.216, allocations: 0 / 1.164 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.0745/1.291, allocations: 42.99 MB / 1.206 GB, free: 12.25 MB / 0.7761 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)