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 1.582/1.582, allocations: 287.4 MB / 303.2 MB, free: 8.418 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.001011/0.001011, allocations: 182.6 kB / 371.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 1.397/1.397, allocations: 205.4 MB / 0.6305 GB, free: 10.44 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.0007216/0.0007216, allocations: 92.8 kB / 0.7438 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 16.38 kB / 0.8667 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2111, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.0399/0.251, allocations: 49.17 MB / 1.027 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03347/0.2846, allocations: 16.63 MB / 1.044 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003366/0.288, allocations: 67.56 kB / 1.044 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004617/0.2926, allocations: 0.7918 MB / 1.044 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.303, allocations: 1.868 MB / 1.046 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01449/0.3175, allocations: 2.74 MB / 1.049 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007687/0.3252, allocations: 5.223 MB / 1.054 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.328, allocations: 1.334 MB / 1.055 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.3317, allocations: 1.548 MB / 1.057 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.3341, allocations: 1.256 MB / 1.058 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005179/0.3346, allocations: 68 kB / 1.058 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004007/0.3386, allocations: 1.521 MB / 1.06 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008722/0.3395, allocations: 422.2 kB / 1.06 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009586/0.3405, allocations: 404.6 kB / 1.06 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003972/0.3445, allocations: 2.498 MB / 1.063 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3445, allocations: 3.938 kB / 1.063 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3445, allocations: 0 / 1.063 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001079/0.3446, allocations: 0 / 1.063 GB, free: 6.438 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.005061/0.3497, allocations: 2.229 MB / 1.065 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.3498, allocations: 8.031 kB / 1.065 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.352, allocations: 489.1 kB / 1.065 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.3556, allocations: 1.647 MB / 1.067 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003993/0.356, allocations: 158.2 kB / 1.067 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.3563, allocations: 127.9 kB / 1.067 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.3594, allocations: 1.387 MB / 1.069 GB, free: 188 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.3594, allocations: 3.938 kB / 1.069 GB, free: 184 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.3596, allocations: 52 kB / 1.069 GB, free: 132 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.3596, allocations: 28 kB / 1.069 GB, free: 104 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3694/0.7291, allocations: 1.126 MB / 1.07 GB, free: 89.59 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.01079/0.7399, allocations: 7.01 MB / 1.077 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.7425, allocations: 1.43 MB / 1.078 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.7436, allocations: 435.1 kB / 1.079 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005534/0.7492, allocations: 3.085 MB / 1.082 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.7503, allocations: 467.6 kB / 1.082 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004818/0.7508, allocations: 89.83 kB / 1.082 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.036e-06/0.7508, allocations: 0.625 kB / 1.082 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003152/0.7539, allocations: 1.289 MB / 1.083 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.754, allocations: 140.6 kB / 1.083 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.7562, allocations: 1.574 MB / 1.085 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.7563, allocations: 48.03 kB / 1.085 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/0.7569, allocations: 0.8837 MB / 1.086 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.7571, allocations: 216.8 kB / 1.086 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.7571, allocations: 20.97 kB / 1.086 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.7572, allocations: 347.1 kB / 1.086 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009755/0.7582, allocations: 395.2 kB / 1.087 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.7594, allocations: 0.7988 MB / 1.088 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/0.7613, allocations: 1.15 MB / 1.089 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.7614, allocations: 3.406 kB / 1.089 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002675/0.764, allocations: 1.336 MB / 1.09 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.7642, allocations: 441.7 kB / 1.09 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.7642, allocations: 16.17 kB / 1.09 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.7643, allocations: 20.28 kB / 1.09 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/0.7653, allocations: 262.2 kB / 1.091 GB, free: 76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.7653, allocations: 26.91 kB / 1.091 GB, free: 75.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.7665, allocations: 139 kB / 1.091 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.552e-05/0.7666, allocations: 56.33 kB / 1.091 GB, free: 75.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.7666, allocations: 3.812 kB / 1.091 GB, free: 75.94 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002305/0.7689, allocations: 1.165 MB / 1.092 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.769, allocations: 13.19 kB / 1.092 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.769, allocations: 15.06 kB / 1.092 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009422/0.7699, allocations: 267.3 kB / 1.092 GB, free: 75.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.77, allocations: 22.75 kB / 1.092 GB, free: 75.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.771, allocations: 128.9 kB / 1.093 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.7711, allocations: 49.16 kB / 1.093 GB, free: 75.45 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 (122): * Single equations (assignments): 118 * 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.0007245/0.7718, allocations: 494.7 kB / 1.093 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.772, allocations: 168.3 kB / 1.093 GB, free: 75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.7746, allocations: 1.163 MB / 1.094 GB, free: 74.58 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001934/0.7766, allocations: 1.014 MB / 1.095 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7766, allocations: 0 / 1.095 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.7771, allocations: 336.2 kB / 1.096 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.7773, allocations: 16.67 kB / 1.096 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/0.7782, allocations: 106 kB / 1.096 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.7783, allocations: 50.58 kB / 1.096 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002715/0.7811, allocations: 1.107 MB / 1.097 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003095/0.7842, allocations: 1.67 MB / 1.099 GB, free: 72.63 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009196/0.7851, allocations: 445.8 kB / 1.099 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001517/0.7866, allocations: 1.047 MB / 1.1 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of Backend: time 6.11e-07/0.7866, allocations: 4 kB / 1.1 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005196/0.7918, allocations: 2.267 MB / 1.102 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of SimCode: time 0.006452/0.7983, allocations: 4.482 MB / 1.107 GB, free: 68.71 MB / 0.6823 GB Notification: Performance of Templates: time 0.0502/0.8485, allocations: 34.55 MB / 1.14 GB, free: 44.81 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)