Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001383, allocations: 183 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 0.5783 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008768/0.000877, allocations: 95.17 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 8.812 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2523, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05876/0.3111, allocations: 49.17 MB / 0.9488 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03253/0.3437, allocations: 16.6 MB / 0.9651 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004802/0.3485, allocations: 71.5 kB / 0.9651 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004674/0.3532, allocations: 0.801 MB / 0.9659 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009821/0.3631, allocations: 1.872 MB / 0.9677 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01358/0.3767, allocations: 2.723 MB / 0.9704 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.009442/0.3861, allocations: 5.158 MB / 0.9754 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.3897, allocations: 1.222 MB / 0.9766 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005062/0.3948, allocations: 1.532 MB / 0.9781 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004192/0.399, allocations: 1.264 MB / 0.9794 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.4001, allocations: 68 kB / 0.9794 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005726/0.4059, allocations: 1.505 MB / 0.9809 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.4071, allocations: 418.2 kB / 0.9813 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.4086, allocations: 408.6 kB / 0.9817 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005239/0.4138, allocations: 2.478 MB / 0.9841 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4139, allocations: 8 kB / 0.9841 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4139, allocations: 0 / 0.9841 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001343/0.414, allocations: 0 / 0.9841 GB, free: 10.77 MB / 0.6355 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.006254/0.4203, allocations: 2.237 MB / 0.9863 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4204, allocations: 12.03 kB / 0.9863 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.423, allocations: 484.9 kB / 0.9868 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/0.4276, allocations: 1.579 MB / 0.9883 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/0.4281, allocations: 166.1 kB / 0.9885 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004096/0.4285, allocations: 127.9 kB / 0.9886 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003618/0.4321, allocations: 1.384 MB / 0.9899 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.4322, allocations: 7.938 kB / 0.9899 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.4324, allocations: 44 kB / 0.99 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.4324, allocations: 32 kB / 0.99 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.4355, allocations: 1.124 MB / 0.9911 GB, free: 3.363 MB / 0.6355 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.01187/0.4474, allocations: 6.999 MB / 0.9979 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.4506, allocations: 1.434 MB / 0.9993 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.4518, allocations: 434.3 kB / 0.9998 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006219/0.458, allocations: 3.079 MB / 1.003 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.4592, allocations: 466.8 kB / 1.003 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008163/0.4601, allocations: 87.34 kB / 1.003 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 6.692e-06/0.4601, allocations: 3.984 kB / 1.003 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.00365/0.4637, allocations: 1.291 MB / 1.005 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.4639, allocations: 141.1 kB / 1.005 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.4669, allocations: 1.57 MB / 1.006 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.4671, allocations: 41.7 kB / 1.006 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009693/0.468, allocations: 0.888 MB / 1.007 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.4683, allocations: 212.9 kB / 1.007 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.4684, allocations: 20 kB / 1.007 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.4686, allocations: 345.9 kB / 1.008 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.4696, allocations: 397.7 kB / 1.008 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.471, allocations: 0.7931 MB / 1.009 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.4722, allocations: 0.4966 MB / 1.009 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.4723, allocations: 11.95 kB / 1.009 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003299/0.4756, allocations: 1.329 MB / 1.011 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003786/0.476, allocations: 441.5 kB / 1.011 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.476, allocations: 12 kB / 1.011 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.4761, allocations: 20 kB / 1.011 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.4771, allocations: 263.6 kB / 1.011 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.564e-05/0.4772, allocations: 27.86 kB / 1.011 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4788, allocations: 136.4 kB / 1.011 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.4789, allocations: 51.98 kB / 1.012 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.4789, allocations: 4 kB / 1.012 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002666/0.4816, allocations: 1.157 MB / 1.013 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.4817, allocations: 19.94 kB / 1.013 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.4817, allocations: 16 kB / 1.013 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.4828, allocations: 263.8 kB / 1.013 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.676e-05/0.4828, allocations: 27.86 kB / 1.013 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.4846, allocations: 128.5 kB / 1.013 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.4847, allocations: 51.98 kB / 1.013 GB, free: 11.3 MB / 0.6667 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 (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.001219/0.486, allocations: 488.1 kB / 1.014 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.4865, allocations: 165.9 kB / 1.014 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.4902, allocations: 1.175 MB / 1.015 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.4902, allocations: 4 kB / 1.015 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.4902, allocations: 8 kB / 1.015 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002205/0.4925, allocations: 1.002 MB / 1.016 GB, free: 8.402 MB / 0.6667 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.005863/0.4983, allocations: 2.437 MB / 1.018 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4984, allocations: 3.938 kB / 1.018 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.4992, allocations: 155.8 kB / 1.018 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.4994, allocations: 36.83 kB / 1.018 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/0.4995, allocations: 19.98 kB / 1.019 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.501, allocations: 1.367 MB / 1.02 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.501, allocations: 0 / 1.02 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/0.505, allocations: 1.627 MB / 1.021 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.5061, allocations: 350.7 kB / 1.022 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005111/0.5067, allocations: 12 kB / 1.022 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.508, allocations: 127.7 kB / 1.022 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.5082, allocations: 56.48 kB / 1.022 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.5083, allocations: 23.98 kB / 1.022 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002377/0.5107, allocations: 1.114 MB / 1.023 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5107, allocations: 0 / 1.023 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004066/0.5148, allocations: 0.9201 MB / 1.024 GB, free: 15.89 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.002422/0.5172, allocations: 0.7278 MB / 1.025 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00453/0.5217, allocations: 1.706 MB / 1.026 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.5218, allocations: 8.188 kB / 1.026 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.5233, allocations: 0.5759 MB / 1.027 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/0.5281, allocations: 0.7378 MB / 1.028 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008994/0.5372, allocations: 3.852 MB / 1.031 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.5387, allocations: 1.372 MB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007349/0.5395, allocations: 151.4 kB / 1.033 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.5395, allocations: 0 / 1.033 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of Templates: time 0.4793/1.019, allocations: 33.96 MB / 1.066 GB, free: 141.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)