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.664/1.664, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.0009488/0.0009489, allocations: 186.4 kB / 372.9 MB, free: 10.15 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.327/1.327, allocations: 205.4 MB / 0.6316 GB, free: 9.871 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.0007513/0.0007515, allocations: 98.3 kB / 0.745 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003636, allocations: 17.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04064/0.2487, allocations: 49.17 MB / 1.029 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02476/0.2735, allocations: 16.62 MB / 1.045 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003612/0.2771, allocations: 67.56 kB / 1.045 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.2805, allocations: 0.8711 MB / 1.046 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006632/0.2871, allocations: 1.988 MB / 1.048 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007748/0.2949, allocations: 2.762 MB / 1.051 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008269/0.3032, allocations: 5.224 MB / 1.056 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.3063, allocations: 1.346 MB / 1.057 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.31, allocations: 1.595 MB / 1.059 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.3119, allocations: 1.26 MB / 1.06 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.3122, allocations: 72 kB / 1.06 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.3155, allocations: 1.754 MB / 1.062 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004861/0.316, allocations: 418.3 kB / 1.062 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.3172, allocations: 0.9071 MB / 1.063 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003471/0.3207, allocations: 2.545 MB / 1.065 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3207, allocations: 0 / 1.065 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3207, allocations: 0 / 1.065 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.315e-05/0.3207, allocations: 0 / 1.065 GB, free: 4.527 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.003821/0.3245, allocations: 2.227 MB / 1.067 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3246, allocations: 8.031 kB / 1.067 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.3265, allocations: 489.1 kB / 1.068 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.3295, allocations: 1.651 MB / 1.07 GB, free: 44 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4236/0.7531, allocations: 154.2 kB / 1.07 GB, free: 89.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/0.7535, allocations: 122.9 kB / 1.07 GB, free: 89.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/0.7571, allocations: 1.395 MB / 1.071 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.7571, allocations: 4.891 kB / 1.071 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.7573, allocations: 44.38 kB / 1.071 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/0.7573, allocations: 32.25 kB / 1.071 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.7605, allocations: 1.13 MB / 1.072 GB, free: 89.02 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.01007/0.7706, allocations: 7.004 MB / 1.079 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.7732, allocations: 1.433 MB / 1.081 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.7743, allocations: 438 kB / 1.081 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005119/0.7794, allocations: 3.074 MB / 1.084 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.7807, allocations: 479.5 kB / 1.084 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006357/0.7813, allocations: 84.38 kB / 1.085 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.517e-06/0.7813, allocations: 3.391 kB / 1.085 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003562/0.7849, allocations: 1.296 MB / 1.086 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.785, allocations: 141 kB / 1.086 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.7875, allocations: 1.571 MB / 1.087 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.7877, allocations: 47.59 kB / 1.088 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007278/0.7884, allocations: 0.8876 MB / 1.088 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.7886, allocations: 213.4 kB / 1.089 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.7887, allocations: 19.88 kB / 1.089 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.7888, allocations: 343.1 kB / 1.089 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.7898, allocations: 399.8 kB / 1.089 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.791, allocations: 0.7958 MB / 1.09 GB, free: 77.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.7932, allocations: 1.15 MB / 1.091 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.7932, allocations: 3.656 kB / 1.091 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003148/0.7964, allocations: 1.344 MB / 1.093 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.7966, allocations: 434.3 kB / 1.093 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.7967, allocations: 12.05 kB / 1.093 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/0.7967, allocations: 16.44 kB / 1.093 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.7978, allocations: 266.9 kB / 1.093 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.27e-05/0.7979, allocations: 22.11 kB / 1.093 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.7994, allocations: 134.8 kB / 1.093 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.7996, allocations: 55.39 kB / 1.093 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.7996, allocations: 3.344 kB / 1.093 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002552/0.8021, allocations: 1.167 MB / 1.095 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.8022, allocations: 17.38 kB / 1.095 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.8022, allocations: 29.7 kB / 1.095 GB, free: 74.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.8032, allocations: 263.7 kB / 1.095 GB, free: 74.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.8033, allocations: 26.81 kB / 1.095 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.8048, allocations: 130.7 kB / 1.095 GB, free: 74.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.8049, allocations: 52.16 kB / 1.095 GB, free: 74.73 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.0009369/0.8058, allocations: 483.3 kB / 1.096 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.8061, allocations: 172.1 kB / 1.096 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.8088, allocations: 1.164 MB / 1.097 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001855/0.8106, allocations: 1.006 MB / 1.098 GB, free: 73.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.8107, allocations: 0 / 1.098 GB, free: 73.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007796/0.8115, allocations: 343.5 kB / 1.098 GB, free: 73.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.8116, allocations: 14.42 kB / 1.098 GB, free: 73.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.8126, allocations: 106.1 kB / 1.098 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.8127, allocations: 50.78 kB / 1.098 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002723/0.8155, allocations: 1.103 MB / 1.099 GB, free: 72.67 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003234/0.8187, allocations: 1.677 MB / 1.101 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009885/0.8197, allocations: 441.2 kB / 1.101 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001723/0.8215, allocations: 1.048 MB / 1.102 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of Backend: time 8.42e-07/0.8215, allocations: 0 / 1.102 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005686/0.8272, allocations: 2.29 MB / 1.105 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of SimCode: time 0.007211/0.8344, allocations: 4.473 MB / 1.109 GB, free: 67.87 MB / 0.6823 GB Notification: Performance of Templates: time 0.05331/0.8878, allocations: 34.93 MB / 1.143 GB, free: 41.98 MB / 0.6823 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)