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.592/1.592, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001056/0.001056, allocations: 184.8 kB / 366.7 MB, free: 1.641 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.622/1.622, allocations: 205.3 MB / 0.626 GB, free: 7.098 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.001005/0.001004, allocations: 84.95 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.602e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7305/0.7305, allocations: 116.3 MB / 0.9732 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.917, allocations: 454.9 MB / 1.417 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.917, allocations: 102.6 kB / 1.418 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.219/6.137, allocations: 1.162 GB / 2.58 GB, free: 124.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/6.137, allocations: 0 / 2.58 GB, free: 124.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004401/6.137, allocations: 59.75 kB / 2.58 GB, free: 124.2 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.006829/6.144, allocations: 2.066 MB / 2.582 GB, free: 122.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/6.144, allocations: 10.5 kB / 2.582 GB, free: 122.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/6.147, allocations: 463.2 kB / 2.582 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007831/6.155, allocations: 2.293 MB / 2.584 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/6.155, allocations: 36.19 kB / 2.584 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005508/6.155, allocations: 73.06 kB / 2.584 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002362/6.158, allocations: 0.781 MB / 2.585 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/6.161, allocations: 1.09 MB / 2.586 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/6.161, allocations: 7.875 kB / 2.586 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/6.161, allocations: 7.953 kB / 2.586 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/6.161, allocations: 28 kB / 2.586 GB, free: 119.2 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.01042/6.171, allocations: 6.687 MB / 2.593 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/6.173, allocations: 1.134 MB / 2.594 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/6.173, allocations: 304 kB / 2.594 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005057/6.178, allocations: 2.882 MB / 2.597 GB, free: 107.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005081/6.179, allocations: 329.9 kB / 2.597 GB, free: 107 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009236/6.18, allocations: 70.47 kB / 2.597 GB, free: 106.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 6.131e-06/6.18, allocations: 0 / 2.597 GB, free: 106.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.007138/6.187, allocations: 1.488 MB / 2.599 GB, free: 105.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/6.187, allocations: 162.8 kB / 2.599 GB, free: 105.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/6.19, allocations: 1.249 MB / 2.6 GB, free: 104 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/6.19, allocations: 25.7 kB / 2.6 GB, free: 104 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009717/6.191, allocations: 0.8839 MB / 2.601 GB, free: 103.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/6.192, allocations: 205 kB / 2.601 GB, free: 102.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/6.192, allocations: 2.781 kB / 2.601 GB, free: 102.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/6.192, allocations: 345.9 kB / 2.602 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/6.192, allocations: 258.6 kB / 2.602 GB, free: 102.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/6.193, allocations: 0.6949 MB / 2.603 GB, free: 101.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005965/6.199, allocations: 1.181 MB / 2.604 GB, free: 100.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/6.199, allocations: 4 kB / 2.604 GB, free: 100.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007694/6.207, allocations: 1.817 MB / 2.605 GB, free: 98.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001366/6.208, allocations: 4.537 MB / 2.61 GB, free: 93.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/6.208, allocations: 19.92 kB / 2.61 GB, free: 93.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.199e-05/6.208, allocations: 20 kB / 2.61 GB, free: 93.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000991/6.209, allocations: 247.6 kB / 2.61 GB, free: 93.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/6.209, allocations: 23.92 kB / 2.61 GB, free: 93.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/6.211, allocations: 111.5 kB / 2.61 GB, free: 93.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/6.211, allocations: 55.98 kB / 2.61 GB, free: 93.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/6.212, allocations: 4 kB / 2.61 GB, free: 93.04 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0066/6.218, allocations: 1.597 MB / 2.612 GB, free: 91.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.232e-05/6.218, allocations: 23.92 kB / 2.612 GB, free: 91.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/6.218, allocations: 16 kB / 2.612 GB, free: 91.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009533/6.219, allocations: 244 kB / 2.612 GB, free: 91.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/6.219, allocations: 23.94 kB / 2.612 GB, free: 91.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/6.221, allocations: 87.84 kB / 2.612 GB, free: 91.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/6.221, allocations: 51.98 kB / 2.612 GB, free: 91 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.0003507/6.222, allocations: 148.5 kB / 2.612 GB, free: 90.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005506/6.222, allocations: 169.8 kB / 2.613 GB, free: 90.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006948/6.229, allocations: 1.676 MB / 2.614 GB, free: 88.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/6.229, allocations: 15.98 kB / 2.614 GB, free: 88.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/6.229, allocations: 0 / 2.614 GB, free: 88.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005851/6.235, allocations: 1.523 MB / 2.616 GB, free: 87.41 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.009679/6.245, allocations: 2.744 MB / 2.618 GB, free: 84.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/6.245, allocations: 7.969 kB / 2.618 GB, free: 84.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007006/6.245, allocations: 135.8 kB / 2.619 GB, free: 84.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/6.246, allocations: 24.84 kB / 2.619 GB, free: 84.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/6.246, allocations: 19.94 kB / 2.619 GB, free: 84.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009147/6.247, allocations: 1.273 MB / 2.62 GB, free: 83.06 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/6.247, allocations: 32 / 2.62 GB, free: 83.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007727/6.255, allocations: 2.055 MB / 2.622 GB, free: 80.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/6.256, allocations: 326.9 kB / 2.622 GB, free: 80.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009165/6.257, allocations: 11.75 kB / 2.622 GB, free: 80.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/6.259, allocations: 79.84 kB / 2.622 GB, free: 80.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/6.259, allocations: 48.48 kB / 2.622 GB, free: 80.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/6.26, allocations: 31.98 kB / 2.622 GB, free: 80.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002462/6.262, allocations: 0.9195 MB / 2.623 GB, free: 79.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/6.262, allocations: 0 / 2.623 GB, free: 79.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006528/6.269, allocations: 1.008 MB / 2.624 GB, free: 78.55 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.004036/6.273, allocations: 1.254 MB / 2.625 GB, free: 77.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003075/6.276, allocations: 1.362 MB / 2.627 GB, free: 76.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/6.276, allocations: 1.625 kB / 2.627 GB, free: 76.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009425/6.277, allocations: 436 kB / 2.627 GB, free: 75.69 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004438/6.281, allocations: 0.632 MB / 2.628 GB, free: 75.08 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/6.288, allocations: 2.303 MB / 2.63 GB, free: 72.76 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/6.29, allocations: 1.414 MB / 2.631 GB, free: 71.31 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003409/6.293, allocations: 0.5728 MB / 2.632 GB, free: 70.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/6.294, allocations: 115.1 kB / 2.632 GB, free: 70.66 MB / 0.948 GB Notification: Performance of SimCode: time 2.194e-06/6.294, allocations: 0 / 2.632 GB, free: 70.66 MB / 0.948 GB Notification: Performance of Templates: time 0.05314/6.347, allocations: 32.85 MB / 2.664 GB, free: 38.45 MB / 0.948 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)