Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.62/1.62, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001248/0.001248, allocations: 184.9 kB / 361.4 MB, free: 6.809 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.655/1.655, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009197/0.0009199, allocations: 97.41 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.108e-05/2.1e-05, allocations: 4 kB / 0.8517 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7453/0.7453, allocations: 115.3 MB / 0.9644 GB, free: 79.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.908, allocations: 453.9 MB / 1.408 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.908, allocations: 94.64 kB / 1.408 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.132/6.04, allocations: 1.162 GB / 2.57 GB, free: 121.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/6.041, allocations: 0 / 2.57 GB, free: 121.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002225/6.041, allocations: 58.33 kB / 2.57 GB, free: 121 MB / 0.948 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.004431/6.045, allocations: 2.078 MB / 2.572 GB, free: 118.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/6.045, allocations: 12.03 kB / 2.572 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/6.047, allocations: 456.7 kB / 2.572 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/6.053, allocations: 2.295 MB / 2.574 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/6.053, allocations: 42.52 kB / 2.574 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/6.053, allocations: 75.98 kB / 2.575 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001477/6.055, allocations: 0.7737 MB / 2.575 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/6.056, allocations: 1.092 MB / 2.576 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/6.056, allocations: 10.52 kB / 2.576 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/6.056, allocations: 4 kB / 2.576 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/6.056, allocations: 28 kB / 2.576 GB, free: 114.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.00757/6.064, allocations: 6.679 MB / 2.583 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/6.065, allocations: 1.144 MB / 2.584 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/6.066, allocations: 296.8 kB / 2.584 GB, free: 105.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004008/6.07, allocations: 2.881 MB / 2.587 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005419/6.07, allocations: 329.9 kB / 2.587 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005031/6.071, allocations: 76.33 kB / 2.588 GB, free: 101.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.348e-06/6.071, allocations: 3.938 kB / 2.588 GB, free: 101.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.006762/6.077, allocations: 1.48 MB / 2.589 GB, free: 100.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/6.077, allocations: 162.8 kB / 2.589 GB, free: 100.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/6.079, allocations: 1.244 MB / 2.59 GB, free: 98.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.565e-05/6.079, allocations: 29.7 kB / 2.59 GB, free: 98.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000655/6.08, allocations: 0.8839 MB / 2.591 GB, free: 97.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/6.08, allocations: 208 kB / 2.591 GB, free: 97.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/6.08, allocations: 0 / 2.591 GB, free: 97.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/6.08, allocations: 341.9 kB / 2.592 GB, free: 97.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/6.081, allocations: 262.6 kB / 2.592 GB, free: 97.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/6.081, allocations: 0.6834 MB / 2.593 GB, free: 96.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005824/6.087, allocations: 1.192 MB / 2.594 GB, free: 95.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/6.087, allocations: 0 / 2.594 GB, free: 95.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007332/6.094, allocations: 1.821 MB / 2.596 GB, free: 93.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001218/6.096, allocations: 4.545 MB / 2.6 GB, free: 88.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/6.096, allocations: 12 kB / 2.6 GB, free: 88.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.961e-05/6.096, allocations: 20 kB / 2.6 GB, free: 88.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000906/6.097, allocations: 247.1 kB / 2.6 GB, free: 88.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/6.097, allocations: 27.89 kB / 2.6 GB, free: 88.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/6.098, allocations: 102.5 kB / 2.6 GB, free: 87.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/6.098, allocations: 63.92 kB / 2.601 GB, free: 87.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/6.098, allocations: 4 kB / 2.601 GB, free: 87.89 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006502/6.105, allocations: 1.606 MB / 2.602 GB, free: 86.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/6.105, allocations: 13 kB / 2.602 GB, free: 86.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/6.105, allocations: 20 kB / 2.602 GB, free: 86.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/6.106, allocations: 243.6 kB / 2.602 GB, free: 86.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/6.106, allocations: 23.92 kB / 2.602 GB, free: 85.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/6.108, allocations: 95.8 kB / 2.602 GB, free: 85.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/6.108, allocations: 55.97 kB / 2.603 GB, free: 85.84 MB / 0.948 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002925/6.108, allocations: 142.2 kB / 2.603 GB, free: 85.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/6.108, allocations: 169.8 kB / 2.603 GB, free: 85.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007181/6.115, allocations: 1.678 MB / 2.604 GB, free: 83.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/6.115, allocations: 8 kB / 2.604 GB, free: 83.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/6.115, allocations: 4 kB / 2.604 GB, free: 83.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00584/6.121, allocations: 1.529 MB / 2.606 GB, free: 82.26 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.00884/6.13, allocations: 2.746 MB / 2.609 GB, free: 79.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/6.13, allocations: 0 / 2.609 GB, free: 79.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/6.131, allocations: 131.9 kB / 2.609 GB, free: 79.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/6.131, allocations: 40.73 kB / 2.609 GB, free: 79.31 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/6.131, allocations: 11.98 kB / 2.609 GB, free: 79.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009441/6.132, allocations: 1.269 MB / 2.61 GB, free: 77.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/6.132, allocations: 0 / 2.61 GB, free: 77.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00731/6.14, allocations: 2.063 MB / 2.612 GB, free: 75.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007609/6.14, allocations: 330.8 kB / 2.612 GB, free: 75.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/6.141, allocations: 4 kB / 2.612 GB, free: 75.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009035/6.142, allocations: 75.05 kB / 2.612 GB, free: 75.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/6.142, allocations: 59.95 kB / 2.613 GB, free: 75.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/6.142, allocations: 31.97 kB / 2.613 GB, free: 75.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001496/6.143, allocations: 0.9234 MB / 2.613 GB, free: 74.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.143, allocations: 0 / 2.613 GB, free: 74.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004143/6.147, allocations: 0.9937 MB / 2.614 GB, free: 73.4 MB / 0.948 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) * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00251/6.15, allocations: 1.254 MB / 2.616 GB, free: 72.37 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002043/6.152, allocations: 1.371 MB / 2.617 GB, free: 70.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/6.152, allocations: 0 / 2.617 GB, free: 70.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/6.153, allocations: 436 kB / 2.617 GB, free: 70.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/6.155, allocations: 0.6344 MB / 2.618 GB, free: 69.92 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/6.16, allocations: 2.283 MB / 2.62 GB, free: 67.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/6.161, allocations: 1.41 MB / 2.622 GB, free: 66.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002422/6.163, allocations: 0.5965 MB / 2.622 GB, free: 65.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/6.163, allocations: 107.4 kB / 2.622 GB, free: 65.51 MB / 0.948 GB Notification: Performance of SimCode: time 1.283e-06/6.163, allocations: 0 / 2.622 GB, free: 65.51 MB / 0.948 GB Notification: Performance of Templates: time 0.05028/6.214, allocations: 32.84 MB / 2.654 GB, free: 33.18 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)