Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.61/2.61, allocations: 287.3 MB / 302.3 MB, free: 8.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.001572/0.001573, allocations: 182.7 kB / 370.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 92.67 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004887, allocations: 16.12 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.06694/0.2893, allocations: 44.86 MB / 1.022 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03748/0.3269, allocations: 15.62 MB / 1.037 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/0.3302, allocations: 71.5 kB / 1.037 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005152/0.3354, allocations: 0.952 MB / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.3463, allocations: 2.332 MB / 1.041 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0138/0.3602, allocations: 2.999 MB / 1.043 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007633/0.3678, allocations: 2.766 MB / 1.046 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003351/0.3712, allocations: 1.245 MB / 1.047 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004917/0.3762, allocations: 1.362 MB / 1.049 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.3789, allocations: 0.9137 MB / 1.05 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005703/0.3796, allocations: 68 kB / 1.05 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005557/0.3851, allocations: 1.377 MB / 1.051 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.3863, allocations: 390.5 kB / 1.051 GB, free: 1.27 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009147/0.3872, allocations: 404.6 kB / 1.052 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.3933, allocations: 2.455 MB / 1.054 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3934, allocations: 4 kB / 1.054 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3934, allocations: 0 / 1.054 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000101/0.3935, allocations: 0 / 1.054 GB, free: 14.4 MB / 0.6823 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.006923/0.4004, allocations: 2.229 MB / 1.056 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.4005, allocations: 8.031 kB / 1.056 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003896/0.4044, allocations: 489 kB / 1.057 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.4096, allocations: 1.528 MB / 1.058 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007261/0.4104, allocations: 162.2 kB / 1.058 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004458/0.4109, allocations: 128 kB / 1.059 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004736/0.4156, allocations: 1.372 MB / 1.06 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/0.4157, allocations: 7.938 kB / 1.06 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.4159, allocations: 48 kB / 1.06 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/0.416, allocations: 28 kB / 1.06 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005179/0.4212, allocations: 1.113 MB / 1.061 GB, free: 7.078 MB / 0.6823 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.7336/1.155, allocations: 7.15 MB / 1.068 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005008/1.16, allocations: 1.412 MB / 1.069 GB, free: 87.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008107/1.168, allocations: 3.082 MB / 1.072 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/1.17, allocations: 460.9 kB / 1.073 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008937/1.171, allocations: 89.48 kB / 1.073 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.578e-06/1.171, allocations: 0 / 1.073 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.006346/1.177, allocations: 1.28 MB / 1.074 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.722e-05/1.178, allocations: 147.1 kB / 1.074 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004117/1.182, allocations: 1.606 MB / 1.076 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002452/1.182, allocations: 40.7 kB / 1.076 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/1.183, allocations: 0.8948 MB / 1.077 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/1.184, allocations: 213.4 kB / 1.077 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/1.184, allocations: 21.98 kB / 1.077 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.184, allocations: 346.5 kB / 1.077 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/1.186, allocations: 388.7 kB / 1.078 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/1.188, allocations: 0.7901 MB / 1.079 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/1.19, allocations: 0.4959 MB / 1.079 GB, free: 81.49 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-05/1.19, allocations: 9 kB / 1.079 GB, free: 81.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005666/1.196, allocations: 1.33 MB / 1.08 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.197, allocations: 4.369 MB / 1.085 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.807e-05/1.197, allocations: 12.75 kB / 1.085 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.355e-05/1.197, allocations: 21.34 kB / 1.085 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/1.2, allocations: 268.2 kB / 1.085 GB, free: 76.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.203e-05/1.2, allocations: 27.78 kB / 1.085 GB, free: 76.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/1.202, allocations: 133.8 kB / 1.085 GB, free: 76.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/1.202, allocations: 59.25 kB / 1.085 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.203, allocations: 6.062 kB / 1.085 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004989/1.208, allocations: 1.159 MB / 1.086 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.591e-05/1.208, allocations: 15.94 kB / 1.086 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.939e-05/1.208, allocations: 18 kB / 1.086 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/1.21, allocations: 266.7 kB / 1.087 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.513e-05/1.21, allocations: 25.77 kB / 1.087 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/1.212, allocations: 130.3 kB / 1.087 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/1.213, allocations: 54.62 kB / 1.087 GB, free: 75.81 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (123): * Single equations (assignments): 119 * 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.001319/1.214, allocations: 482.3 kB / 1.087 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005343/1.215, allocations: 171.5 kB / 1.087 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/1.22, allocations: 1.162 MB / 1.088 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/1.22, allocations: 8.484 kB / 1.089 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.22, allocations: 4.797 kB / 1.089 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003665/1.223, allocations: 0.9914 MB / 1.089 GB, free: 74.46 MB / 0.6823 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.008243/1.232, allocations: 2.481 MB / 1.092 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.232, allocations: 1.828 kB / 1.092 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.233, allocations: 156.9 kB / 1.092 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/1.234, allocations: 38.56 kB / 1.092 GB, free: 73.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/1.234, allocations: 19.67 kB / 1.092 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/1.235, allocations: 1.391 MB / 1.093 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.235, allocations: 0 / 1.093 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006336/1.242, allocations: 1.635 MB / 1.095 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.243, allocations: 369.2 kB / 1.095 GB, free: 70.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/1.244, allocations: 21.94 kB / 1.095 GB, free: 70.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.246, allocations: 112.1 kB / 1.096 GB, free: 70.86 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/1.246, allocations: 55.31 kB / 1.096 GB, free: 70.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/1.246, allocations: 31.5 kB / 1.096 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003003/1.25, allocations: 1.138 MB / 1.097 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/1.25, allocations: 0 / 1.097 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005094/1.255, allocations: 0.9411 MB / 1.098 GB, free: 70.22 MB / 0.6823 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002688/1.257, allocations: 0.7671 MB / 1.098 GB, free: 70 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006541/1.264, allocations: 1.711 MB / 1.1 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.264, allocations: 0 / 1.1 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002242/1.266, allocations: 0.5695 MB / 1.101 GB, free: 69.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006051/1.272, allocations: 0.7433 MB / 1.101 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.283, allocations: 3.764 MB / 1.105 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/1.284, allocations: 1.406 MB / 1.106 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003456/1.288, allocations: 431.7 kB / 1.107 GB, free: 65.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009221/1.289, allocations: 148.9 kB / 1.107 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/1.289, allocations: 0 / 1.107 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of Templates: time 0.08767/1.376, allocations: 31.7 MB / 1.138 GB, free: 45.41 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)