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.001001/0.001001, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007975/0.007975, allocations: 175 kB / 16.27 MB, free: 6.613 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.44/1.44, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.763/1.763, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005481/0.0005486, allocations: 17.88 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2316, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05198/0.2836, allocations: 52.01 MB / 0.8387 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02832/0.3121, allocations: 17.93 MB / 0.8562 GB, free: 5.395 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003464/0.3156, allocations: 75.5 kB / 0.8563 GB, free: 5.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.3193, allocations: 0.9749 MB / 0.8572 GB, free: 4.344 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006827/0.3261, allocations: 2.145 MB / 0.8593 GB, free: 2.195 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008625/0.3348, allocations: 3.046 MB / 0.8623 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008194/0.343, allocations: 6.031 MB / 0.8682 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.3456, allocations: 1.377 MB / 0.8695 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/0.3498, allocations: 1.614 MB / 0.8711 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.3529, allocations: 1.306 MB / 0.8724 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004269/0.3534, allocations: 68 kB / 0.8724 GB, free: 4.711 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/0.3583, allocations: 1.828 MB / 0.8742 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005592/0.3589, allocations: 434.1 kB / 0.8746 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.3603, allocations: 0.9416 MB / 0.8755 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.3659, allocations: 3.294 MB / 0.8788 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3659, allocations: 4 kB / 0.8788 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3659, allocations: 0 / 0.8788 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.421e-05/0.366, allocations: 0 / 0.8788 GB, free: 14.19 MB / 0.7012 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.004571/0.3706, allocations: 2.206 MB / 0.8809 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.3706, allocations: 8.031 kB / 0.8809 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.3727, allocations: 497.1 kB / 0.8814 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.3757, allocations: 1.647 MB / 0.883 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003707/0.376, allocations: 158.2 kB / 0.8832 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.3762, allocations: 124 kB / 0.8833 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.3789, allocations: 1.39 MB / 0.8846 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.3789, allocations: 0 / 0.8846 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.3791, allocations: 48 kB / 0.8847 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.3791, allocations: 28 kB / 0.8847 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.3817, allocations: 1.136 MB / 0.8858 GB, free: 6.738 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.01009/0.3918, allocations: 6.948 MB / 0.8926 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.3945, allocations: 1.426 MB / 0.894 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009157/0.3954, allocations: 446.1 kB / 0.8944 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004456/0.3999, allocations: 3.044 MB / 0.8974 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.4009, allocations: 458.9 kB / 0.8978 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004572/0.4014, allocations: 79.34 kB / 0.8979 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.095e-06/0.4014, allocations: 4 kB / 0.8979 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.003093/0.4045, allocations: 1.28 MB / 0.8992 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.4046, allocations: 119.4 kB / 0.8993 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.4065, allocations: 1.542 MB / 0.9008 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/0.4066, allocations: 49.69 kB / 0.9008 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006988/0.4073, allocations: 0.884 MB / 0.9017 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.4075, allocations: 213 kB / 0.9019 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4077, allocations: 93.59 kB / 0.902 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4078, allocations: 349.9 kB / 0.9023 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009612/0.4088, allocations: 410.1 kB / 0.9027 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.41, allocations: 0.8182 MB / 0.9035 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.4121, allocations: 1.192 MB / 0.9047 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4121, allocations: 4 kB / 0.9047 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002776/0.4149, allocations: 1.375 MB / 0.906 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.4152, allocations: 451.2 kB / 0.9064 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.4152, allocations: 19.88 kB / 0.9065 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.4152, allocations: 16 kB / 0.9065 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.4163, allocations: 263.6 kB / 0.9067 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/0.4163, allocations: 31.86 kB / 0.9068 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.4175, allocations: 132.3 kB / 0.9069 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.812e-05/0.4176, allocations: 55.98 kB / 0.9069 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.4176, allocations: 4 kB / 0.9069 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002432/0.4201, allocations: 1.176 MB / 0.9081 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.4201, allocations: 12 kB / 0.9081 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4201, allocations: 16.62 kB / 0.9081 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/0.4211, allocations: 267.6 kB / 0.9084 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.4211, allocations: 27.94 kB / 0.9084 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.4222, allocations: 116.6 kB / 0.9085 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.563e-05/0.4223, allocations: 55.98 kB / 0.9086 GB, free: 13.81 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.0008423/0.4232, allocations: 495.9 kB / 0.909 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.4234, allocations: 165.8 kB / 0.9092 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.426, allocations: 1.155 MB / 0.9103 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.4261, allocations: 11.94 kB / 0.9103 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.4261, allocations: 0 / 0.9103 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001994/0.4281, allocations: 1.006 MB / 0.9113 GB, free: 10.92 MB / 0.7325 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.00471/0.4328, allocations: 2.413 MB / 0.9137 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4328, allocations: 0 / 0.9137 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.4336, allocations: 155.8 kB / 0.9138 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.4338, allocations: 36.83 kB / 0.9139 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/0.4339, allocations: 27.97 kB / 0.9139 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.4352, allocations: 1.366 MB / 0.9152 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4352, allocations: 3.938 kB / 0.9152 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/0.4388, allocations: 1.616 MB / 0.9168 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007876/0.4396, allocations: 350.6 kB / 0.9171 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/0.4401, allocations: 16 kB / 0.9172 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.4413, allocations: 111.8 kB / 0.9173 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.4414, allocations: 56.48 kB / 0.9173 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.4415, allocations: 23.98 kB / 0.9173 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001894/0.4434, allocations: 1.098 MB / 0.9184 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4434, allocations: 0 / 0.9184 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003563/0.447, allocations: 0.9239 MB / 0.9193 GB, free: 2.453 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 (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.002236/0.4492, allocations: 0.7547 MB / 0.92 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004142/0.4534, allocations: 1.746 MB / 0.9218 GB, free: 60 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4534, allocations: 0 / 0.9218 GB, free: 60 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.4182/0.8716, allocations: 0.5687 MB / 0.9223 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/0.8759, allocations: 0.7396 MB / 0.923 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.8827, allocations: 3.845 MB / 0.9268 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.8838, allocations: 1.371 MB / 0.9281 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00229/0.8861, allocations: 425.8 kB / 0.9285 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.8865, allocations: 138.8 kB / 0.9287 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.8865, allocations: 0 / 0.9287 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.06144/0.9479, allocations: 31.25 MB / 0.9592 GB, free: 117.2 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: