Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01088/0.01088, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7453/0.7453, allocations: 132.3 MB / 148.1 MB, free: 256 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 403.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 95.61 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003684, allocations: 16 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4001, allocations: 81.59 MB / 0.6438 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.559, allocations: 414.9 MB / 1.049 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005434/1.56, allocations: 102.6 kB / 1.049 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.098/5.658, allocations: 1.187 GB / 2.236 GB, free: 95.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/5.658, allocations: 3.25 kB / 2.236 GB, free: 95.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000427/5.658, allocations: 51.78 kB / 2.236 GB, free: 95.07 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.008966/5.667, allocations: 2.529 MB / 2.239 GB, free: 93.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/5.667, allocations: 7.562 kB / 2.239 GB, free: 93.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/5.67, allocations: 450 kB / 2.239 GB, free: 93.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008313/5.678, allocations: 2.29 MB / 2.241 GB, free: 93.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/5.679, allocations: 96.08 kB / 2.241 GB, free: 93.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006123/5.679, allocations: 127.6 kB / 2.242 GB, free: 93.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003834/5.683, allocations: 1.281 MB / 2.243 GB, free: 93.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/5.683, allocations: 5.656 kB / 2.243 GB, free: 93.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/5.683, allocations: 46.88 kB / 2.243 GB, free: 93.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/5.684, allocations: 47.75 kB / 2.243 GB, free: 93.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/5.686, allocations: 0.9653 MB / 2.244 GB, free: 93.03 MB / 0.698 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.01142/5.698, allocations: 6.931 MB / 2.251 GB, free: 88.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/5.7, allocations: 1.268 MB / 2.252 GB, free: 88.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005928/5.706, allocations: 2.99 MB / 2.255 GB, free: 86.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008868/5.707, allocations: 415.4 kB / 2.255 GB, free: 86.38 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009041/5.707, allocations: 80.92 kB / 2.255 GB, free: 86.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 5.139e-06/5.707, allocations: 0 / 2.255 GB, free: 86.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.00292/5.71, allocations: 1.139 MB / 2.256 GB, free: 86.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/5.71, allocations: 115.8 kB / 2.256 GB, free: 85.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/5.713, allocations: 1.337 MB / 2.258 GB, free: 85.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/5.713, allocations: 41.58 kB / 2.258 GB, free: 85.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/5.714, allocations: 0.8751 MB / 2.259 GB, free: 85.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/5.715, allocations: 230 kB / 2.259 GB, free: 85.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/5.715, allocations: 21.12 kB / 2.259 GB, free: 85.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001009/5.715, allocations: 349.3 kB / 2.259 GB, free: 85.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007373/5.716, allocations: 313.3 kB / 2.26 GB, free: 85.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009574/5.717, allocations: 0.7306 MB / 2.26 GB, free: 84.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009253/5.718, allocations: 447.1 kB / 2.261 GB, free: 84.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/5.718, allocations: 3.75 kB / 2.261 GB, free: 84.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002651/5.72, allocations: 1.188 MB / 2.262 GB, free: 84.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001117/5.721, allocations: 4.45 MB / 2.266 GB, free: 79.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/5.721, allocations: 7.719 kB / 2.266 GB, free: 79.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.902e-05/5.721, allocations: 25.81 kB / 2.266 GB, free: 79.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009977/5.722, allocations: 243.9 kB / 2.266 GB, free: 79.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.893e-05/5.722, allocations: 19.59 kB / 2.266 GB, free: 79.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/5.724, allocations: 123.5 kB / 2.267 GB, free: 79.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/5.724, allocations: 55.53 kB / 2.267 GB, free: 79.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/5.724, allocations: 7.859 kB / 2.267 GB, free: 79.62 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002104/5.726, allocations: 1.021 MB / 2.268 GB, free: 79.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/5.726, allocations: 11.25 kB / 2.268 GB, free: 79.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/5.727, allocations: 18.53 kB / 2.268 GB, free: 79.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/5.727, allocations: 243.1 kB / 2.268 GB, free: 79.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/5.727, allocations: 24.78 kB / 2.268 GB, free: 79.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/5.729, allocations: 112.8 kB / 2.268 GB, free: 79.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/5.729, allocations: 55.66 kB / 2.268 GB, free: 79.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.001212/5.73, allocations: 481.2 kB / 2.269 GB, free: 79.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/5.731, allocations: 167.8 kB / 2.269 GB, free: 79.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/5.733, allocations: 1.066 MB / 2.27 GB, free: 79.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/5.733, allocations: 9.656 kB / 2.27 GB, free: 79.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/5.733, allocations: 0 / 2.27 GB, free: 79.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/5.735, allocations: 0.9052 MB / 2.271 GB, free: 78.92 MB / 0.698 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.005202/5.74, allocations: 2.32 MB / 2.273 GB, free: 78.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/5.74, allocations: 0 / 2.273 GB, free: 78.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/5.741, allocations: 140.1 kB / 2.273 GB, free: 78.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002026/5.741, allocations: 35.3 kB / 2.273 GB, free: 78.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/5.741, allocations: 22.7 kB / 2.273 GB, free: 78.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/5.742, allocations: 1.307 MB / 2.274 GB, free: 77.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/5.742, allocations: 4.344 kB / 2.274 GB, free: 77.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/5.746, allocations: 1.486 MB / 2.276 GB, free: 76.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/5.747, allocations: 349.8 kB / 2.276 GB, free: 76.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007608/5.748, allocations: 21.91 kB / 2.276 GB, free: 76.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/5.75, allocations: 94.16 kB / 2.276 GB, free: 76.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/5.75, allocations: 55.41 kB / 2.276 GB, free: 76.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/5.75, allocations: 37.41 kB / 2.276 GB, free: 76.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002425/5.752, allocations: 1.084 MB / 2.277 GB, free: 76.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/5.752, allocations: 0 / 2.277 GB, free: 76.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004727/5.757, allocations: 0.9836 MB / 2.278 GB, free: 76.45 MB / 0.698 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.s[1],mov.filter.s[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 (72): * Single equations (assignments): 63 * 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.003161/5.76, allocations: 1.296 MB / 2.28 GB, free: 76.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003228/5.764, allocations: 1.466 MB / 2.281 GB, free: 75.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/5.764, allocations: 0 / 2.281 GB, free: 75.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/5.765, allocations: 0.514 MB / 2.282 GB, free: 75.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003891/5.769, allocations: 0.7195 MB / 2.282 GB, free: 75.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/5.776, allocations: 3.647 MB / 2.286 GB, free: 73.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008878/5.777, allocations: 1.398 MB / 2.287 GB, free: 72.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002257/5.779, allocations: 442.6 kB / 2.288 GB, free: 72.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/5.779, allocations: 133.5 kB / 2.288 GB, free: 72.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.563e-06/5.779, allocations: 0 / 2.288 GB, free: 72.43 MB / 0.698 GB Notification: Performance of Templates: time 0.05455/5.834, allocations: 34.73 MB / 2.322 GB, free: 52.66 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)