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.001748/0.001748, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002315/0.002315, allocations: 192 kB / 16.25 MB, free: 6.637 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 69.88 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.368, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9152/1.283, allocations: 297.6 MB / 1.358 GB, free: 42.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05762/1.341, allocations: 49.73 MB / 1.407 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01168/1.353, allocations: 279.3 kB / 1.407 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01403/1.367, allocations: 2.936 MB / 1.41 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02929/1.396, allocations: 8.419 MB / 1.418 GB, free: 10.51 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01765/1.414, allocations: 6.101 MB / 1.424 GB, free: 5.918 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0278/1.442, allocations: 18.58 MB / 1.442 GB, free: 4.375 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01212/1.454, allocations: 5.762 MB / 1.448 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01964/1.473, allocations: 7.43 MB / 1.455 GB, free: 7.082 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009673/1.483, allocations: 5.219 MB / 1.46 GB, free: 1.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002574/1.486, allocations: 0.5625 MB / 1.461 GB, free: 1.277 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/1.501, allocations: 4.448 MB / 1.465 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003491/1.504, allocations: 1.514 MB / 1.467 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.008956/1.513, allocations: 3.732 MB / 1.47 GB, free: 7.551 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02266/1.536, allocations: 10.36 MB / 1.48 GB, free: 13.16 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.536, allocations: 0 / 1.48 GB, free: 13.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.745e-06/1.536, allocations: 0 / 1.48 GB, free: 13.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004529/1.536, allocations: 0 / 1.48 GB, free: 13.16 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.01864/1.555, allocations: 7.478 MB / 1.488 GB, free: 5.539 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.555, allocations: 12.03 kB / 1.488 GB, free: 5.527 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/1.558, allocations: 0.7803 MB / 1.488 GB, free: 4.738 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/1.57, allocations: 5.216 MB / 1.494 GB, free: 15.44 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/1.571, allocations: 324 kB / 1.494 GB, free: 15.12 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/1.572, allocations: 431.9 kB / 1.494 GB, free: 14.7 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/1.583, allocations: 4.385 MB / 1.499 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/1.583, allocations: 15.84 kB / 1.499 GB, free: 10.02 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006935/1.584, allocations: 180 kB / 1.499 GB, free: 9.844 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.584, allocations: 123.9 kB / 1.499 GB, free: 9.723 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006558/1.591, allocations: 2.961 MB / 1.502 GB, free: 6.758 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.03456/1.625, allocations: 25 MB / 1.526 GB, free: 11.71 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/1.629, allocations: 2.766 MB / 1.529 GB, free: 8.738 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/1.631, allocations: 0.9915 MB / 1.53 GB, free: 7.746 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003008/1.634, allocations: 3.904 MB / 1.534 GB, free: 2.977 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.955e-05/1.634, allocations: 64.56 kB / 1.534 GB, free: 2.902 MB / 1.123 GB Notification: Performance of pre-optimization done (n=217): time 5.33e-06/1.634, allocations: 0 / 1.534 GB, free: 2.902 MB / 1.123 GB Notification: Performance of matching and sorting (n=217): time 0.01234/1.646, allocations: 4.08 MB / 1.538 GB, free: 14.72 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/1.646, allocations: 73.41 kB / 1.538 GB, free: 14.64 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009003/1.655, allocations: 4.236 MB / 1.542 GB, free: 10.43 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0005726/1.656, allocations: 77.7 kB / 1.542 GB, free: 10.34 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002708/1.659, allocations: 2.796 MB / 1.545 GB, free: 7.523 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.66, allocations: 0.7547 MB / 1.545 GB, free: 6.758 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/1.661, allocations: 0.5685 MB / 1.546 GB, free: 6.18 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.661, allocations: 309.1 kB / 1.546 GB, free: 5.875 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/1.663, allocations: 0.827 MB / 1.547 GB, free: 5.043 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/1.666, allocations: 1.822 MB / 1.549 GB, free: 2.785 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004239/1.67, allocations: 2.505 MB / 1.551 GB, free: 15.95 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.576e-05/1.67, allocations: 8 kB / 1.551 GB, free: 15.94 MB / 1.154 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009485/1.68, allocations: 3.567 MB / 1.555 GB, free: 12.31 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/1.68, allocations: 21.91 kB / 1.555 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.085e-05/1.68, allocations: 20 kB / 1.555 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/1.683, allocations: 0.5896 MB / 1.555 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/1.685, allocations: 0.5577 MB / 1.556 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/1.687, allocations: 2.685 MB / 1.559 GB, free: 8.324 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/1.692, allocations: 0.6006 MB / 1.559 GB, free: 7.723 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004599/1.693, allocations: 136 kB / 1.559 GB, free: 7.59 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003475/1.696, allocations: 1.568 MB / 1.561 GB, free: 6.016 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002434/1.699, allocations: 1.794 MB / 1.563 GB, free: 3.785 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003917/1.702, allocations: 2.463 MB / 1.565 GB, free: 0.9961 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.302e-05/1.702, allocations: 4 kB / 1.565 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007739/1.71, allocations: 3.31 MB / 1.568 GB, free: 13.62 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.71, allocations: 15.98 kB / 1.568 GB, free: 13.6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/1.71, allocations: 27.94 kB / 1.568 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.711, allocations: 371.2 kB / 1.569 GB, free: 13.2 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/1.713, allocations: 0.5499 MB / 1.569 GB, free: 12.65 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009213/1.722, allocations: 8.46 MB / 1.577 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/1.727, allocations: 0.5705 MB / 1.578 GB, free: 3.016 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005238/1.728, allocations: 132 kB / 1.578 GB, free: 2.887 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.0009171/1.729, allocations: 368.4 kB / 1.579 GB, free: 2.516 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001844/1.731, allocations: 0.5055 MB / 1.579 GB, free: 2.004 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00768/1.738, allocations: 3.573 MB / 1.582 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.02e-05/1.739, allocations: 35.97 kB / 1.583 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.739, allocations: 0 / 1.583 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004301/1.743, allocations: 2.45 MB / 1.585 GB, free: 11.83 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.01803/1.761, allocations: 8.217 MB / 1.593 GB, free: 3.328 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.761, allocations: 0 / 1.593 GB, free: 3.328 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/1.762, allocations: 367.5 kB / 1.593 GB, free: 2.969 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007594/1.763, allocations: 307.1 kB / 1.594 GB, free: 2.656 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/1.763, allocations: 67.97 kB / 1.594 GB, free: 2.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/1.765, allocations: 2.494 MB / 1.596 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.765, allocations: 4 kB / 1.596 GB, free: 15.98 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008175/1.773, allocations: 4.333 MB / 1.6 GB, free: 11.57 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/1.776, allocations: 0.8766 MB / 1.601 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/1.777, allocations: 51.94 kB / 1.601 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004265/1.782, allocations: 419.1 kB / 1.602 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/1.782, allocations: 145.8 kB / 1.602 GB, free: 10.06 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002958/1.782, allocations: 116.1 kB / 1.602 GB, free: 9.949 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.005817/1.788, allocations: 2.789 MB / 1.605 GB, free: 7.188 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.1e-07/1.788, allocations: 3.938 kB / 1.605 GB, free: 7.184 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01301/1.801, allocations: 3.277 MB / 1.608 GB, free: 3.898 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.003882/1.805, allocations: 1.462 MB / 1.609 GB, free: 2.43 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01275/1.818, allocations: 4.866 MB / 1.614 GB, free: 13.5 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.818, allocations: 4.875 kB / 1.614 GB, free: 13.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002408/1.82, allocations: 1.234 MB / 1.615 GB, free: 12.26 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/1.835, allocations: 2.632 MB / 1.618 GB, free: 9.699 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/1.854, allocations: 11.41 MB / 1.629 GB, free: 14.25 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00327/1.857, allocations: 2.873 MB / 1.632 GB, free: 11.36 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00556/1.862, allocations: 1.16 MB / 1.633 GB, free: 10.19 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.864, allocations: 411.2 kB / 1.633 GB, free: 9.785 MB / 1.232 GB Notification: Performance of SimCode: time 8.41e-07/1.864, allocations: 0 / 1.633 GB, free: 9.785 MB / 1.232 GB Notification: Performance of Templates: time 0.1761/2.04, allocations: 106.3 MB / 1.737 GB, free: 0.8047 MB / 1.326 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)