Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 68.67 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3328, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.999/1.332, allocations: 300.4 MB / 1.362 GB, free: 40.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06584/1.398, allocations: 50.03 MB / 1.41 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01423/1.412, allocations: 297.2 kB / 1.411 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0122/1.424, allocations: 3.426 MB / 1.414 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.03188/1.456, allocations: 9.035 MB / 1.423 GB, free: 6.566 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.02478/1.481, allocations: 6.593 MB / 1.429 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03479/1.516, allocations: 18.46 MB / 1.447 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01184/1.528, allocations: 5.841 MB / 1.453 GB, free: 9.512 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02246/1.55, allocations: 7.337 MB / 1.46 GB, free: 2.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01296/1.563, allocations: 5.079 MB / 1.465 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002757/1.566, allocations: 0.5664 MB / 1.466 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01627/1.582, allocations: 4.383 MB / 1.47 GB, free: 8.121 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003546/1.586, allocations: 1.498 MB / 1.471 GB, free: 6.617 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.009155/1.595, allocations: 3.74 MB / 1.475 GB, free: 2.859 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02434/1.619, allocations: 10.31 MB / 1.485 GB, free: 8.523 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.62, allocations: 4 kB / 1.485 GB, free: 8.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.707e-06/1.62, allocations: 0 / 1.485 GB, free: 8.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003668/1.62, allocations: 3.938 kB / 1.485 GB, free: 8.516 MB / 1.076 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.01807/1.638, allocations: 7.478 MB / 1.492 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.638, allocations: 8.031 kB / 1.492 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/1.641, allocations: 0.7881 MB / 1.493 GB, free: 96 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/1.652, allocations: 5.033 MB / 1.498 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/1.652, allocations: 320.1 kB / 1.498 GB, free: 10.67 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005978/1.653, allocations: 439.8 kB / 1.499 GB, free: 10.24 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008032/1.661, allocations: 4.381 MB / 1.503 GB, free: 5.574 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-05/1.661, allocations: 11.88 kB / 1.503 GB, free: 5.562 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/1.661, allocations: 179.9 kB / 1.503 GB, free: 5.387 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/1.661, allocations: 120 kB / 1.503 GB, free: 5.27 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005628/1.667, allocations: 2.965 MB / 1.506 GB, free: 2.301 MB / 1.092 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.03067/1.698, allocations: 25.29 MB / 1.531 GB, free: 6.973 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/1.701, allocations: 2.777 MB / 1.534 GB, free: 3.98 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/1.702, allocations: 0.9954 MB / 1.535 GB, free: 2.992 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003215/1.705, allocations: 3.908 MB / 1.539 GB, free: 14.22 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/1.705, allocations: 64.56 kB / 1.539 GB, free: 14.14 MB / 1.139 GB Notification: Performance of pre-optimization done (n=217): time 4.449e-06/1.705, allocations: 0 / 1.539 GB, free: 14.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=217): time 0.01067/1.716, allocations: 4.069 MB / 1.543 GB, free: 9.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/1.716, allocations: 77.34 kB / 1.543 GB, free: 9.895 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007118/1.723, allocations: 4.299 MB / 1.547 GB, free: 5.617 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004875/1.724, allocations: 77.7 kB / 1.547 GB, free: 5.535 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002377/1.726, allocations: 2.792 MB / 1.55 GB, free: 2.719 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.727, allocations: 0.7586 MB / 1.55 GB, free: 1.949 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008177/1.728, allocations: 0.5724 MB / 1.551 GB, free: 1.367 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.728, allocations: 305.1 kB / 1.551 GB, free: 1.066 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.73, allocations: 0.8153 MB / 1.552 GB, free: 252 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/1.732, allocations: 1.822 MB / 1.554 GB, free: 13.99 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/1.736, allocations: 2.513 MB / 1.556 GB, free: 11.15 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/1.736, allocations: 8 kB / 1.556 GB, free: 11.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008793/1.745, allocations: 3.555 MB / 1.56 GB, free: 7.52 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/1.745, allocations: 19.94 kB / 1.56 GB, free: 7.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/1.745, allocations: 20 kB / 1.56 GB, free: 7.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/1.747, allocations: 0.5987 MB / 1.56 GB, free: 6.871 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.749, allocations: 0.5538 MB / 1.561 GB, free: 6.316 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/1.751, allocations: 2.688 MB / 1.564 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/1.756, allocations: 337.3 kB / 1.564 GB, free: 3.195 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/1.756, allocations: 140 kB / 1.564 GB, free: 3.059 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003111/1.759, allocations: 1.564 MB / 1.566 GB, free: 1.488 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002266/1.761, allocations: 1.787 MB / 1.567 GB, free: 15.27 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003456/1.765, allocations: 2.471 MB / 1.57 GB, free: 12.46 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.14e-05/1.765, allocations: 8 kB / 1.57 GB, free: 12.46 MB / 1.17 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006869/1.772, allocations: 3.31 MB / 1.573 GB, free: 9.082 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.772, allocations: 16 kB / 1.573 GB, free: 9.066 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/1.772, allocations: 23.94 kB / 1.573 GB, free: 9.043 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009542/1.773, allocations: 367.2 kB / 1.573 GB, free: 8.672 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.774, allocations: 0.5538 MB / 1.574 GB, free: 8.117 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00814/1.783, allocations: 8.464 MB / 1.582 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/1.787, allocations: 308.5 kB / 1.582 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/1.787, allocations: 135.9 kB / 1.583 GB, free: 14.62 MB / 1.186 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007335/1.788, allocations: 371.8 kB / 1.583 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.789, allocations: 0.5055 MB / 1.583 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006427/1.795, allocations: 3.577 MB / 1.587 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-05/1.795, allocations: 35.97 kB / 1.587 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.795, allocations: 0 / 1.587 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003768/1.799, allocations: 2.439 MB / 1.589 GB, free: 7.559 MB / 1.186 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.01216/1.811, allocations: 8.272 MB / 1.597 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.811, allocations: 0 / 1.597 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.813, allocations: 367.5 kB / 1.598 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006921/1.813, allocations: 311.1 kB / 1.598 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/1.813, allocations: 63.95 kB / 1.598 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/1.815, allocations: 2.494 MB / 1.6 GB, free: 11.67 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.815, allocations: 0 / 1.6 GB, free: 11.67 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006978/1.822, allocations: 4.337 MB / 1.605 GB, free: 7.246 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/1.824, allocations: 0.8805 MB / 1.606 GB, free: 6.34 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005321/1.825, allocations: 51.94 kB / 1.606 GB, free: 6.289 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/1.827, allocations: 115.9 kB / 1.606 GB, free: 6.176 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/1.827, allocations: 157.8 kB / 1.606 GB, free: 6.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/1.827, allocations: 107.9 kB / 1.606 GB, free: 5.914 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004288/1.831, allocations: 2.848 MB / 1.609 GB, free: 3.094 MB / 1.201 GB Notification: Performance of sort global known variables: time 4.51e-07/1.831, allocations: 0 / 1.609 GB, free: 3.094 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.008788/1.84, allocations: 3.238 MB / 1.612 GB, free: 15.84 MB / 1.217 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003083/1.843, allocations: 1.511 MB / 1.613 GB, free: 14.34 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.855, allocations: 4.858 MB / 1.618 GB, free: 9.418 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.855, allocations: 7.938 kB / 1.618 GB, free: 9.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.857, allocations: 1.231 MB / 1.619 GB, free: 8.176 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01304/1.87, allocations: 2.635 MB / 1.622 GB, free: 5.613 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/1.886, allocations: 9.167 MB / 1.631 GB, free: 12.41 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/1.889, allocations: 2.87 MB / 1.634 GB, free: 9.516 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.005692/1.894, allocations: 1.157 MB / 1.635 GB, free: 8.352 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.896, allocations: 427.1 kB / 1.635 GB, free: 7.934 MB / 1.232 GB Notification: Performance of SimCode: time 1.433e-06/1.896, allocations: 0 / 1.635 GB, free: 7.934 MB / 1.232 GB Notification: Performance of Templates: time 0.1915/2.087, allocations: 108.2 MB / 1.741 GB, free: 13.01 MB / 1.342 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)