Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 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.001133/0.001133, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 65.19 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.003/1.342, allocations: 300.4 MB / 1.362 GB, free: 40.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06816/1.41, allocations: 50.04 MB / 1.41 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01803/1.428, allocations: 297.7 kB / 1.411 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01359/1.441, allocations: 3.42 MB / 1.414 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.03284/1.474, allocations: 9.036 MB / 1.423 GB, free: 6.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.02229/1.497, allocations: 6.588 MB / 1.429 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03404/1.531, allocations: 18.46 MB / 1.447 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0122/1.543, allocations: 5.837 MB / 1.453 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01995/1.563, allocations: 7.351 MB / 1.46 GB, free: 2.383 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01209/1.575, allocations: 5.075 MB / 1.465 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003826/1.579, allocations: 0.5664 MB / 1.466 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/1.596, allocations: 4.383 MB / 1.47 GB, free: 8.328 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004664/1.601, allocations: 1.506 MB / 1.471 GB, free: 6.816 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.009999/1.611, allocations: 3.728 MB / 1.475 GB, free: 3.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02305/1.634, allocations: 10.31 MB / 1.485 GB, free: 8.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.634, allocations: 0 / 1.485 GB, free: 8.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.485e-06/1.634, allocations: 0 / 1.485 GB, free: 8.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004451/1.634, allocations: 0 / 1.485 GB, free: 8.73 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.02089/1.655, allocations: 7.478 MB / 1.492 GB, free: 1.113 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.655, allocations: 12.03 kB / 1.492 GB, free: 1.102 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003818/1.659, allocations: 0.7803 MB / 1.493 GB, free: 320 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.672, allocations: 5.045 MB / 1.498 GB, free: 11.19 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/1.673, allocations: 320.1 kB / 1.498 GB, free: 10.88 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/1.674, allocations: 435.9 kB / 1.499 GB, free: 10.45 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/1.685, allocations: 4.381 MB / 1.503 GB, free: 5.785 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/1.686, allocations: 11.88 kB / 1.503 GB, free: 5.773 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007899/1.686, allocations: 176 kB / 1.503 GB, free: 5.602 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/1.687, allocations: 120 kB / 1.503 GB, free: 5.484 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005835/1.692, allocations: 2.961 MB / 1.506 GB, free: 2.52 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.03301/1.725, allocations: 25.29 MB / 1.531 GB, free: 7.191 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/1.729, allocations: 2.781 MB / 1.534 GB, free: 4.195 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/1.731, allocations: 0.9992 MB / 1.535 GB, free: 3.203 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003616/1.734, allocations: 3.904 MB / 1.539 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.243e-05/1.734, allocations: 60.56 kB / 1.539 GB, free: 14.36 MB / 1.139 GB Notification: Performance of pre-optimization done (n=217): time 3.998e-06/1.734, allocations: 4 kB / 1.539 GB, free: 14.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=217): time 0.01173/1.746, allocations: 4.069 MB / 1.543 GB, free: 10.2 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/1.746, allocations: 77.41 kB / 1.543 GB, free: 10.11 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.756, allocations: 4.303 MB / 1.547 GB, free: 5.828 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004957/1.757, allocations: 77.7 kB / 1.547 GB, free: 5.746 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002777/1.76, allocations: 2.788 MB / 1.55 GB, free: 2.934 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/1.761, allocations: 0.7625 MB / 1.55 GB, free: 2.16 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/1.762, allocations: 0.5685 MB / 1.551 GB, free: 1.582 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.762, allocations: 305.1 kB / 1.551 GB, free: 1.281 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/1.764, allocations: 0.8308 MB / 1.552 GB, free: 456 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/1.767, allocations: 1.814 MB / 1.554 GB, free: 14.19 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004173/1.771, allocations: 2.517 MB / 1.556 GB, free: 11.34 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-05/1.771, allocations: 8 kB / 1.556 GB, free: 11.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00942/1.78, allocations: 3.551 MB / 1.56 GB, free: 7.723 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/1.78, allocations: 12 kB / 1.56 GB, free: 7.711 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/1.78, allocations: 32.11 kB / 1.56 GB, free: 7.68 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/1.783, allocations: 0.5917 MB / 1.56 GB, free: 7.078 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/1.785, allocations: 0.5461 MB / 1.561 GB, free: 6.531 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/1.788, allocations: 2.693 MB / 1.564 GB, free: 3.734 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004663/1.792, allocations: 333 kB / 1.564 GB, free: 3.406 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003703/1.793, allocations: 144 kB / 1.564 GB, free: 3.266 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003754/1.796, allocations: 1.568 MB / 1.566 GB, free: 1.691 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002494/1.799, allocations: 1.787 MB / 1.567 GB, free: 15.46 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003925/1.803, allocations: 2.467 MB / 1.57 GB, free: 12.67 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.103e-05/1.803, allocations: 4 kB / 1.57 GB, free: 12.67 MB / 1.17 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007803/1.811, allocations: 3.313 MB / 1.573 GB, free: 9.289 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.811, allocations: 12 kB / 1.573 GB, free: 9.277 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/1.811, allocations: 24 kB / 1.573 GB, free: 9.254 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.812, allocations: 368.9 kB / 1.573 GB, free: 8.883 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.813, allocations: 0.5577 MB / 1.574 GB, free: 8.324 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008271/1.822, allocations: 8.457 MB / 1.582 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.826, allocations: 320.5 kB / 1.582 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000422/1.827, allocations: 128 kB / 1.583 GB, free: 14.83 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.001018/1.828, allocations: 367.8 kB / 1.583 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002343/1.83, allocations: 0.5093 MB / 1.583 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007681/1.838, allocations: 3.588 MB / 1.587 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-05/1.838, allocations: 39.97 kB / 1.587 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/1.838, allocations: 0 / 1.587 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004039/1.842, allocations: 2.431 MB / 1.589 GB, free: 7.766 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.01776/1.86, allocations: 8.272 MB / 1.597 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.86, allocations: 4 kB / 1.597 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/1.861, allocations: 359.6 kB / 1.598 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008503/1.862, allocations: 303.1 kB / 1.598 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/1.862, allocations: 63.95 kB / 1.598 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/1.865, allocations: 2.494 MB / 1.6 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/1.865, allocations: 4 kB / 1.6 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.875, allocations: 4.333 MB / 1.605 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003081/1.878, allocations: 0.8844 MB / 1.606 GB, free: 6.555 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/1.88, allocations: 47.94 kB / 1.606 GB, free: 6.508 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00356/1.883, allocations: 123.8 kB / 1.606 GB, free: 6.387 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/1.884, allocations: 149.9 kB / 1.606 GB, free: 6.238 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003337/1.884, allocations: 119.8 kB / 1.606 GB, free: 6.121 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.006911/1.891, allocations: 2.848 MB / 1.609 GB, free: 3.301 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.8e-07/1.891, allocations: 0 / 1.609 GB, free: 3.301 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01248/1.903, allocations: 3.242 MB / 1.612 GB, free: 52 kB / 1.201 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.004106/1.908, allocations: 1.507 MB / 1.613 GB, free: 14.54 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.921, allocations: 4.858 MB / 1.618 GB, free: 9.621 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.921, allocations: 0 / 1.618 GB, free: 9.621 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002618/1.924, allocations: 1.234 MB / 1.619 GB, free: 8.383 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01652/1.94, allocations: 2.64 MB / 1.622 GB, free: 5.82 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02166/1.962, allocations: 9.165 MB / 1.631 GB, free: 12.62 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002714/1.965, allocations: 2.873 MB / 1.634 GB, free: 9.719 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.005751/1.971, allocations: 1.156 MB / 1.635 GB, free: 8.555 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.972, allocations: 415.2 kB / 1.635 GB, free: 8.148 MB / 1.232 GB Notification: Performance of SimCode: time 3.547e-06/1.972, allocations: 0 / 1.635 GB, free: 8.148 MB / 1.232 GB Notification: Performance of Templates: time 0.1937/2.165, allocations: 108.2 MB / 1.741 GB, free: 13.22 MB / 1.342 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)