Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.399/2.399, allocations: 251.1 MB / 266.7 MB, free: 11.66 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.001572/0.001572, allocations: 178.7 kB / 326.2 MB, free: 2.883 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.66/2.66, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.000843/0.0008429, allocations: 87.34 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006893/0.0006895, allocations: 17.28 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2379, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.487, allocations: 402.4 MB / 1.292 GB, free: 400 kB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/1.487, allocations: 103.6 kB / 1.293 GB, free: 344 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 15.09/16.57, allocations: 2.628 GB / 3.921 GB, free: 55.27 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.777e-06/16.57, allocations: 0.9688 kB / 3.921 GB, free: 55.27 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001444/16.57, allocations: 169.3 kB / 3.921 GB, free: 55.24 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.03972/16.61, allocations: 7.139 MB / 3.928 GB, free: 52.14 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/16.61, allocations: 11.72 kB / 3.928 GB, free: 52.14 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006558/16.62, allocations: 0.7756 MB / 3.929 GB, free: 51.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.256/16.88, allocations: 54.63 MB / 3.982 GB, free: 48.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006752/16.88, allocations: 320.7 kB / 3.982 GB, free: 48.69 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002292/16.88, allocations: 422 kB / 3.983 GB, free: 48.69 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01981/16.9, allocations: 4.269 MB / 3.987 GB, free: 47.91 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002351/16.9, allocations: 23.38 kB / 3.987 GB, free: 47.9 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009486/16.9, allocations: 171.8 kB / 3.987 GB, free: 47.9 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002172/16.9, allocations: 118.2 kB / 3.987 GB, free: 47.9 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/16.91, allocations: 2.902 MB / 3.99 GB, free: 47.87 MB / 1.01 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.0583/16.97, allocations: 23.94 MB / 4.014 GB, free: 33.64 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007267/16.98, allocations: 2.954 MB / 4.016 GB, free: 32.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004111/16.98, allocations: 1.085 MB / 4.018 GB, free: 32.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005057/16.99, allocations: 3.939 MB / 4.021 GB, free: 28.02 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/16.99, allocations: 61.56 kB / 4.021 GB, free: 27.98 MB / 1.01 GB Notification: Performance of pre-optimization done (n=225): time 8.687e-06/16.99, allocations: 0 / 4.021 GB, free: 27.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=225): time 0.02815/17.02, allocations: 4.387 MB / 4.026 GB, free: 27.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/17.02, allocations: 79.81 kB / 4.026 GB, free: 27.13 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01572/17.03, allocations: 4.129 MB / 4.03 GB, free: 26.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009245/17.04, allocations: 76.83 kB / 4.03 GB, free: 26.76 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00479/17.04, allocations: 2.781 MB / 4.033 GB, free: 25.89 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001863/17.04, allocations: 0.776 MB / 4.033 GB, free: 25.38 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/17.04, allocations: 59.22 kB / 4.033 GB, free: 25.38 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002814/17.04, allocations: 409.8 kB / 4.034 GB, free: 25.08 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/17.05, allocations: 0.801 MB / 4.035 GB, free: 25.07 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004947/17.05, allocations: 1.818 MB / 4.036 GB, free: 23.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004575/17.06, allocations: 1.101 MB / 4.037 GB, free: 23.88 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.954e-05/17.06, allocations: 6.906 kB / 4.037 GB, free: 23.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01849/17.07, allocations: 3.498 MB / 4.041 GB, free: 23.49 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006776/17.08, allocations: 0.7409 MB / 4.042 GB, free: 22.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.709e-05/17.08, allocations: 20.53 kB / 4.042 GB, free: 22.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005823/17.08, allocations: 0.5729 MB / 4.042 GB, free: 22.58 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/17.09, allocations: 0.5242 MB / 4.043 GB, free: 22.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003711/17.09, allocations: 2.688 MB / 4.045 GB, free: 20.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/17.1, allocations: 0.5521 MB / 4.046 GB, free: 20.35 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007785/17.1, allocations: 136.5 kB / 4.046 GB, free: 20.35 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/17.1, allocations: 4.656 kB / 4.046 GB, free: 20.35 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009963/17.11, allocations: 2.81 MB / 4.049 GB, free: 20.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.631e-05/17.11, allocations: 22.47 kB / 4.049 GB, free: 20.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/17.12, allocations: 378.2 kB / 4.049 GB, free: 20.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004767/17.12, allocations: 0.5259 MB / 4.05 GB, free: 20.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/17.13, allocations: 7.718 MB / 4.057 GB, free: 30.57 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00927/17.14, allocations: 0.5108 MB / 4.058 GB, free: 30.46 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007693/17.14, allocations: 132.6 kB / 4.058 GB, free: 30.46 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004026/17.15, allocations: 0.9942 MB / 4.059 GB, free: 30.26 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002094/17.15, allocations: 0.5093 MB / 4.059 GB, free: 29.99 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/17.16, allocations: 3.785 MB / 4.063 GB, free: 29.7 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.179e-05/17.16, allocations: 39.73 kB / 4.063 GB, free: 29.7 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/17.16, allocations: 5.094 kB / 4.063 GB, free: 29.7 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007074/17.17, allocations: 2.612 MB / 4.066 GB, free: 29.48 MB / 1.026 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.02666/17.19, allocations: 8.507 MB / 4.074 GB, free: 27.93 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/17.2, allocations: 3.594 kB / 4.074 GB, free: 27.93 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003987/17.2, allocations: 385.8 kB / 4.074 GB, free: 27.93 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/17.2, allocations: 309.4 kB / 4.075 GB, free: 27.88 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005835/17.2, allocations: 61.45 kB / 4.075 GB, free: 27.88 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003281/17.2, allocations: 2.495 MB / 4.077 GB, free: 25.8 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/17.2, allocations: 5.25 kB / 4.077 GB, free: 25.8 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/17.22, allocations: 4.654 MB / 4.082 GB, free: 25.11 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005253/17.23, allocations: 0.9553 MB / 4.083 GB, free: 24.71 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002312/17.23, allocations: 49.22 kB / 4.083 GB, free: 24.71 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008712/17.24, allocations: 438.8 kB / 4.083 GB, free: 24.68 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000662/17.24, allocations: 160.6 kB / 4.083 GB, free: 24.67 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003895/17.24, allocations: 103.8 kB / 4.083 GB, free: 24.67 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.007894/17.25, allocations: 2.721 MB / 4.086 GB, free: 24.49 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.72e-07/17.25, allocations: 0 / 4.086 GB, free: 24.49 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01949/17.27, allocations: 3.438 MB / 4.089 GB, free: 23.99 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01015/17.28, allocations: 3.239 MB / 4.092 GB, free: 22.62 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01603/17.29, allocations: 4.423 MB / 4.097 GB, free: 22.06 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/17.29, allocations: 6.719 kB / 4.097 GB, free: 22.06 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004921/17.3, allocations: 1.324 MB / 4.098 GB, free: 22.04 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03257/17.33, allocations: 2.749 MB / 4.101 GB, free: 21.96 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03532/17.37, allocations: 11.16 MB / 4.112 GB, free: 16.45 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007555/17.37, allocations: 2.87 MB / 4.114 GB, free: 15.58 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01199/17.39, allocations: 1.186 MB / 4.116 GB, free: 15.35 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002854/17.39, allocations: 417.7 kB / 4.116 GB, free: 15.34 MB / 1.026 GB Notification: Performance of SimCode: time 2.094e-06/17.39, allocations: 0 / 4.116 GB, free: 15.34 MB / 1.026 GB Notification: Performance of Templates: time 0.3046/17.69, allocations: 115.6 MB / 4.229 GB, free: 1.352 MB / 1.026 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)