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.00162/0.00162, allocations: 111.3 kB / 15.23 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 194.7 kB / 16.14 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 61.64 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3384, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9333/1.272, allocations: 298.3 MB / 1.359 GB, free: 41.87 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05975/1.332, allocations: 50.22 MB / 1.408 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0123/1.344, allocations: 271.2 kB / 1.408 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01281/1.357, allocations: 2.798 MB / 1.411 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0343/1.391, allocations: 8.414 MB / 1.419 GB, free: 9.906 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.02068/1.412, allocations: 5.996 MB / 1.425 GB, free: 5.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03681/1.449, allocations: 24.58 MB / 1.449 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01308/1.462, allocations: 4.845 MB / 1.454 GB, free: 8.688 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02092/1.483, allocations: 6.362 MB / 1.46 GB, free: 2.297 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/1.495, allocations: 5.106 MB / 1.465 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003443/1.499, allocations: 304 kB / 1.465 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01492/1.514, allocations: 3.975 MB / 1.469 GB, free: 8.887 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003635/1.517, allocations: 1.244 MB / 1.47 GB, free: 7.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.009851/1.527, allocations: 3.447 MB / 1.474 GB, free: 4.172 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02267/1.55, allocations: 10.12 MB / 1.483 GB, free: 10.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.55, allocations: 0 / 1.483 GB, free: 10.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.206e-06/1.55, allocations: 0 / 1.483 GB, free: 10.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004951/1.55, allocations: 0 / 1.483 GB, free: 10.02 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.02124/1.572, allocations: 7.482 MB / 1.491 GB, free: 2.398 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.572, allocations: 12.03 kB / 1.491 GB, free: 2.387 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/1.575, allocations: 0.7803 MB / 1.492 GB, free: 1.598 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.585, allocations: 5.219 MB / 1.497 GB, free: 12.3 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/1.586, allocations: 316.1 kB / 1.497 GB, free: 11.99 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006922/1.586, allocations: 435.8 kB / 1.497 GB, free: 11.57 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007889/1.594, allocations: 4.385 MB / 1.502 GB, free: 6.895 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-05/1.594, allocations: 23.77 kB / 1.502 GB, free: 6.871 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003617/1.595, allocations: 172 kB / 1.502 GB, free: 6.703 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/1.595, allocations: 120 kB / 1.502 GB, free: 6.586 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005257/1.6, allocations: 2.961 MB / 1.505 GB, free: 3.621 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.03227/1.632, allocations: 25.01 MB / 1.529 GB, free: 8.574 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/1.636, allocations: 2.778 MB / 1.532 GB, free: 5.586 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/1.637, allocations: 0.9915 MB / 1.533 GB, free: 4.598 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00328/1.641, allocations: 3.908 MB / 1.537 GB, free: 15.82 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.241e-05/1.641, allocations: 64.55 kB / 1.537 GB, free: 15.75 MB / 1.139 GB Notification: Performance of pre-optimization done (n=217): time 4.358e-06/1.641, allocations: 0 / 1.537 GB, free: 15.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=217): time 0.01135/1.652, allocations: 4.068 MB / 1.541 GB, free: 11.59 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/1.652, allocations: 73.41 kB / 1.541 GB, free: 11.5 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009849/1.662, allocations: 4.232 MB / 1.545 GB, free: 7.293 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0006589/1.663, allocations: 81.7 kB / 1.545 GB, free: 7.207 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002958/1.666, allocations: 2.796 MB / 1.548 GB, free: 4.387 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.667, allocations: 0.7586 MB / 1.549 GB, free: 3.617 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/1.668, allocations: 0.5724 MB / 1.549 GB, free: 3.035 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/1.669, allocations: 309 kB / 1.549 GB, free: 2.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/1.67, allocations: 0.8231 MB / 1.55 GB, free: 1.902 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/1.673, allocations: 1.818 MB / 1.552 GB, free: 15.65 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/1.677, allocations: 2.517 MB / 1.554 GB, free: 12.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/1.677, allocations: 4 kB / 1.554 GB, free: 12.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009356/1.686, allocations: 3.559 MB / 1.558 GB, free: 9.172 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/1.686, allocations: 16.22 kB / 1.558 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/1.686, allocations: 24 kB / 1.558 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/1.689, allocations: 0.5846 MB / 1.559 GB, free: 8.535 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/1.691, allocations: 0.5499 MB / 1.559 GB, free: 7.984 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/1.694, allocations: 2.694 MB / 1.562 GB, free: 5.188 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005791/1.7, allocations: 0.6001 MB / 1.562 GB, free: 4.586 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004757/1.7, allocations: 132 kB / 1.562 GB, free: 4.457 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004147/1.704, allocations: 1.572 MB / 1.564 GB, free: 2.879 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002782/1.707, allocations: 1.795 MB / 1.566 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004184/1.711, allocations: 2.463 MB / 1.568 GB, free: 13.86 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.01e-05/1.711, allocations: 4 kB / 1.568 GB, free: 13.85 MB / 1.17 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.008403/1.72, allocations: 3.306 MB / 1.571 GB, free: 10.48 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/1.72, allocations: 22.41 kB / 1.571 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.409e-05/1.72, allocations: 20 kB / 1.571 GB, free: 10.44 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/1.721, allocations: 369.7 kB / 1.572 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/1.723, allocations: 0.5576 MB / 1.572 GB, free: 9.512 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009667/1.733, allocations: 7.699 MB / 1.58 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008039/1.741, allocations: 0.565 MB / 1.58 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008856/1.742, allocations: 132 kB / 1.58 GB, free: 0.5352 MB / 1.17 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.001679/1.743, allocations: 369.2 kB / 1.581 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003457/1.747, allocations: 0.5018 MB / 1.581 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008791/1.756, allocations: 3.569 MB / 1.585 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/1.756, allocations: 39.97 kB / 1.585 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.756, allocations: 0 / 1.585 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004285/1.76, allocations: 2.458 MB / 1.587 GB, free: 9.469 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.0192/1.779, allocations: 8.217 MB / 1.595 GB, free: 0.9688 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.779, allocations: 3.938 kB / 1.595 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.781, allocations: 367.5 kB / 1.596 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008277/1.782, allocations: 311.1 kB / 1.596 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/1.782, allocations: 63.97 kB / 1.596 GB, free: 232 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/1.784, allocations: 2.495 MB / 1.598 GB, free: 13.63 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/1.784, allocations: 3.984 kB / 1.598 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009037/1.793, allocations: 4.336 MB / 1.603 GB, free: 9.203 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003565/1.797, allocations: 0.8767 MB / 1.603 GB, free: 8.301 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001732/1.798, allocations: 43.98 kB / 1.604 GB, free: 8.258 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004771/1.803, allocations: 427 kB / 1.604 GB, free: 7.84 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/1.803, allocations: 153.8 kB / 1.604 GB, free: 7.688 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003239/1.804, allocations: 107.9 kB / 1.604 GB, free: 7.582 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.006669/1.81, allocations: 2.797 MB / 1.607 GB, free: 4.812 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.61e-07/1.81, allocations: 0 / 1.607 GB, free: 4.812 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01536/1.826, allocations: 3.273 MB / 1.61 GB, free: 1.531 MB / 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.003757/1.83, allocations: 1.453 MB / 1.612 GB, free: 80 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009133/1.839, allocations: 4.421 MB / 1.616 GB, free: 11.59 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.839, allocations: 0 / 1.616 GB, free: 11.59 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/1.841, allocations: 1.222 MB / 1.617 GB, free: 10.37 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01621/1.858, allocations: 2.651 MB / 1.62 GB, free: 7.742 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/1.877, allocations: 11.4 MB / 1.631 GB, free: 12.31 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002596/1.88, allocations: 2.877 MB / 1.634 GB, free: 9.41 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.005452/1.885, allocations: 1.165 MB / 1.635 GB, free: 8.238 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.886, allocations: 415.2 kB / 1.635 GB, free: 7.832 MB / 1.232 GB Notification: Performance of SimCode: time 6.31e-07/1.886, allocations: 0 / 1.635 GB, free: 7.832 MB / 1.232 GB Notification: Performance of Templates: time 0.1876/2.074, allocations: 103.5 MB / 1.736 GB, free: 1.566 MB / 1.326 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)