Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.4 MB / 304.3 MB, free: 8.156 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.000902/0.000902, allocations: 176.5 kB / 372.9 MB, free: 10.17 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.392/1.392, allocations: 205.4 MB / 0.6317 GB, free: 9.926 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.0007133/0.0007134, allocations: 84.08 kB / 0.745 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003679, allocations: 13.34 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.17, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7875/0.9575, allocations: 410.3 MB / 1.381 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.9578, allocations: 105.1 kB / 1.381 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.883/9.841, allocations: 2.704 GB / 4.086 GB, free: 10.53 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.045e-06/9.841, allocations: 0 / 4.086 GB, free: 10.53 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.001057/9.842, allocations: 166.6 kB / 4.086 GB, free: 10.37 MB / 1.089 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.02599/9.868, allocations: 7.077 MB / 4.093 GB, free: 3.203 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/9.868, allocations: 8.031 kB / 4.093 GB, free: 3.195 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005136/9.874, allocations: 0.7787 MB / 4.093 GB, free: 2.41 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.004/10.88, allocations: 56.54 MB / 4.149 GB, free: 62.15 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/10.88, allocations: 318.7 kB / 4.149 GB, free: 62.14 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/10.88, allocations: 425.3 kB / 4.149 GB, free: 62.14 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008295/10.89, allocations: 4.306 MB / 4.154 GB, free: 61.36 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/10.89, allocations: 17.03 kB / 4.154 GB, free: 61.36 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004384/10.89, allocations: 174.8 kB / 4.154 GB, free: 61.36 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/10.89, allocations: 126.1 kB / 4.154 GB, free: 61.35 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005413/10.89, allocations: 2.902 MB / 4.157 GB, free: 61.32 MB / 1.089 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.03052/10.92, allocations: 23.99 MB / 4.18 GB, free: 47.27 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/10.93, allocations: 2.966 MB / 4.183 GB, free: 46.08 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/10.93, allocations: 1.082 MB / 4.184 GB, free: 46.07 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00233/10.93, allocations: 3.938 MB / 4.188 GB, free: 41.66 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/10.93, allocations: 63.62 kB / 4.188 GB, free: 41.62 MB / 1.089 GB Notification: Performance of pre-optimization done (n=225): time 5e-06/10.93, allocations: 0 / 4.188 GB, free: 41.62 MB / 1.089 GB Notification: Performance of matching and sorting (n=225): time 0.01101/10.94, allocations: 4.411 MB / 4.192 GB, free: 40.84 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/10.94, allocations: 77.16 kB / 4.192 GB, free: 40.77 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007406/10.95, allocations: 4.131 MB / 4.196 GB, free: 40.45 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0006924/10.95, allocations: 77.55 kB / 4.196 GB, free: 40.41 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.002011/10.95, allocations: 2.782 MB / 4.199 GB, free: 39.79 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/10.95, allocations: 0.7738 MB / 4.2 GB, free: 39.38 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/10.95, allocations: 58.38 kB / 4.2 GB, free: 39.38 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001406/10.95, allocations: 407.6 kB / 4.2 GB, free: 39.07 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/10.96, allocations: 0.809 MB / 4.201 GB, free: 39.07 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/10.96, allocations: 1.814 MB / 4.203 GB, free: 37.91 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/10.96, allocations: 2.549 MB / 4.205 GB, free: 37.11 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/10.96, allocations: 6 kB / 4.205 GB, free: 37.11 MB / 1.089 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007698/10.97, allocations: 3.508 MB / 4.209 GB, free: 36.72 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004178/10.97, allocations: 0.7341 MB / 4.21 GB, free: 35.85 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/10.97, allocations: 24.69 kB / 4.21 GB, free: 35.85 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/10.97, allocations: 0.5569 MB / 4.21 GB, free: 35.82 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/10.97, allocations: 0.5268 MB / 4.211 GB, free: 35.82 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/10.97, allocations: 2.69 MB / 4.213 GB, free: 33.73 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006261/10.98, allocations: 0.559 MB / 4.214 GB, free: 33.59 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006001/10.98, allocations: 134.5 kB / 4.214 GB, free: 33.59 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/10.98, allocations: 5.031 kB / 4.214 GB, free: 33.59 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005246/10.99, allocations: 2.815 MB / 4.217 GB, free: 33.49 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/10.99, allocations: 23.77 kB / 4.217 GB, free: 33.49 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008993/10.99, allocations: 369.8 kB / 4.217 GB, free: 33.46 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/10.99, allocations: 0.5249 MB / 4.218 GB, free: 33.46 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/11, allocations: 7.731 MB / 4.225 GB, free: 27.82 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006388/11, allocations: 0.5168 MB / 4.226 GB, free: 27.71 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006369/11, allocations: 128 kB / 4.226 GB, free: 27.71 MB / 1.089 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.003511/11.01, allocations: 0.9944 MB / 4.227 GB, free: 27.51 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/11.01, allocations: 0.5016 MB / 4.227 GB, free: 27.25 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006453/11.02, allocations: 3.786 MB / 4.231 GB, free: 26.96 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/11.02, allocations: 39.25 kB / 4.231 GB, free: 26.96 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/11.02, allocations: 0 / 4.231 GB, free: 26.96 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003579/11.02, allocations: 2.611 MB / 4.233 GB, free: 26.75 MB / 1.089 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.017/11.04, allocations: 8.541 MB / 4.242 GB, free: 25.2 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/11.04, allocations: 0.625 kB / 4.242 GB, free: 25.2 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/11.04, allocations: 389.2 kB / 4.242 GB, free: 25.2 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006785/11.04, allocations: 300.1 kB / 4.242 GB, free: 25.17 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/11.04, allocations: 67.38 kB / 4.243 GB, free: 25.17 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/11.04, allocations: 2.508 MB / 4.245 GB, free: 39.08 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/11.04, allocations: 0 / 4.245 GB, free: 39.08 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007809/11.05, allocations: 4.663 MB / 4.25 GB, free: 38.43 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003794/11.05, allocations: 0.9706 MB / 4.251 GB, free: 38.03 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001524/11.06, allocations: 48.91 kB / 4.251 GB, free: 38.02 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00459/11.06, allocations: 441.8 kB / 4.251 GB, free: 37.99 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/11.06, allocations: 155.3 kB / 4.251 GB, free: 37.98 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/11.06, allocations: 116.2 kB / 4.251 GB, free: 37.98 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.005252/11.07, allocations: 2.717 MB / 4.254 GB, free: 37.8 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.192e-06/11.07, allocations: 2.312 kB / 4.254 GB, free: 37.8 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01771/11.08, allocations: 3.443 MB / 4.257 GB, free: 37.41 MB / 1.104 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.007055/11.09, allocations: 3.239 MB / 4.26 GB, free: 36.18 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.007874/11.1, allocations: 4.426 MB / 4.265 GB, free: 35.62 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/11.1, allocations: 7 kB / 4.265 GB, free: 35.62 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/11.1, allocations: 1.329 MB / 4.266 GB, free: 35.59 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01644/11.12, allocations: 2.708 MB / 4.269 GB, free: 35.54 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/11.14, allocations: 11.17 MB / 4.28 GB, free: 30.45 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002796/11.14, allocations: 2.871 MB / 4.282 GB, free: 29.66 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.006145/11.15, allocations: 1.194 MB / 4.284 GB, free: 29.54 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/11.15, allocations: 421.3 kB / 4.284 GB, free: 29.54 MB / 1.104 GB Notification: Performance of SimCode: time 8.61e-07/11.15, allocations: 2.406 kB / 4.284 GB, free: 29.54 MB / 1.104 GB Notification: Performance of Templates: time 0.1981/11.34, allocations: 117.9 MB / 4.399 GB, free: 20.2 MB / 1.104 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)