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.0008241/0.0008241, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006127/0.006127, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.077/3.077, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005576/0.0005573, allocations: 13.45 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3898, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.062/1.452, allocations: 294.1 MB / 1.361 GB, free: 38.53 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06834/1.521, allocations: 49.69 MB / 1.41 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01511/1.536, allocations: 263.7 kB / 1.41 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01177/1.548, allocations: 2.784 MB / 1.413 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.03505/1.583, allocations: 8.411 MB / 1.421 GB, free: 8.988 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.02115/1.604, allocations: 6.012 MB / 1.427 GB, free: 4.418 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03793/1.642, allocations: 24.57 MB / 1.451 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01205/1.654, allocations: 4.716 MB / 1.456 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02204/1.676, allocations: 6.194 MB / 1.462 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01259/1.689, allocations: 4.899 MB / 1.466 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002962/1.692, allocations: 228 kB / 1.467 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01622/1.708, allocations: 3.905 MB / 1.47 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003677/1.712, allocations: 1.131 MB / 1.471 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01264/1.724, allocations: 3.32 MB / 1.475 GB, free: 8.367 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02841/1.753, allocations: 9.912 MB / 1.484 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.753, allocations: 0 / 1.484 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.467e-06/1.753, allocations: 4 kB / 1.484 GB, free: 14.42 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005031/1.753, allocations: 0 / 1.484 GB, free: 14.42 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.01817/1.772, allocations: 6.198 MB / 1.49 GB, free: 8.086 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.772, allocations: 12.03 kB / 1.49 GB, free: 8.074 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00394/1.776, allocations: 0.7764 MB / 1.491 GB, free: 7.289 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/1.79, allocations: 5.231 MB / 1.496 GB, free: 1.984 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004561/1.791, allocations: 316.1 kB / 1.497 GB, free: 1.672 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/1.792, allocations: 427.9 kB / 1.497 GB, free: 1.254 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/1.806, allocations: 4.393 MB / 1.501 GB, free: 12.57 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/1.806, allocations: 15.88 kB / 1.501 GB, free: 12.56 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/1.807, allocations: 175.9 kB / 1.502 GB, free: 12.39 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/1.807, allocations: 116 kB / 1.502 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008514/1.816, allocations: 2.972 MB / 1.505 GB, free: 9.297 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.04252/1.858, allocations: 25.06 MB / 1.529 GB, free: 14.19 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/1.863, allocations: 2.758 MB / 1.532 GB, free: 11.23 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/1.865, allocations: 1.007 MB / 1.533 GB, free: 10.22 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004045/1.869, allocations: 3.919 MB / 1.537 GB, free: 5.434 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/1.869, allocations: 72.5 kB / 1.537 GB, free: 5.355 MB / 1.123 GB Notification: Performance of pre-optimization done (n=217): time 6.312e-06/1.869, allocations: 0 / 1.537 GB, free: 5.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=217): time 0.01322/1.882, allocations: 4.111 MB / 1.541 GB, free: 1.148 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/1.882, allocations: 73.41 kB / 1.541 GB, free: 1.062 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01239/1.895, allocations: 4.228 MB / 1.545 GB, free: 12.86 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0008066/1.896, allocations: 85.7 kB / 1.545 GB, free: 12.77 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.003387/1.899, allocations: 2.788 MB / 1.548 GB, free: 9.953 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.901, allocations: 0.7586 MB / 1.548 GB, free: 9.184 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007268/1.901, allocations: 231.6 kB / 1.549 GB, free: 8.953 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.901, allocations: 309.1 kB / 1.549 GB, free: 8.648 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/1.904, allocations: 0.8138 MB / 1.55 GB, free: 7.832 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/1.907, allocations: 1.826 MB / 1.551 GB, free: 5.57 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/1.91, allocations: 2.529 MB / 1.554 GB, free: 2.715 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/1.91, allocations: 4 kB / 1.554 GB, free: 2.711 MB / 1.139 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008838/1.919, allocations: 3.57 MB / 1.557 GB, free: 15.07 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.00075/1.92, allocations: 0.742 MB / 1.558 GB, free: 14.02 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.622e-05/1.92, allocations: 23.98 kB / 1.558 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/1.923, allocations: 0.5847 MB / 1.559 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.925, allocations: 0.5577 MB / 1.559 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/1.927, allocations: 2.696 MB / 1.562 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006093/1.933, allocations: 0.6013 MB / 1.562 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/1.933, allocations: 136 kB / 1.563 GB, free: 9.312 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/1.933, allocations: 0 / 1.563 GB, free: 9.312 MB / 1.154 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005158/1.939, allocations: 2.821 MB / 1.565 GB, free: 6.438 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/1.939, allocations: 24 kB / 1.565 GB, free: 6.414 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000975/1.94, allocations: 375.8 kB / 1.566 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/1.941, allocations: 0.5499 MB / 1.566 GB, free: 5.484 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008678/1.95, allocations: 7.727 MB / 1.574 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006034/1.956, allocations: 0.5484 MB / 1.574 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/1.956, allocations: 128 kB / 1.574 GB, free: 12.5 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.002986/1.959, allocations: 1.008 MB / 1.575 GB, free: 11.48 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/1.961, allocations: 0.5094 MB / 1.576 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006779/1.968, allocations: 3.597 MB / 1.579 GB, free: 7.301 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-05/1.968, allocations: 35.98 kB / 1.58 GB, free: 7.266 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.968, allocations: 0 / 1.58 GB, free: 7.266 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004285/1.972, allocations: 2.45 MB / 1.582 GB, free: 4.758 MB / 1.17 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.01619/1.988, allocations: 8.225 MB / 1.59 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.988, allocations: 4 kB / 1.59 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.99, allocations: 375.5 kB / 1.59 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007017/1.99, allocations: 303 kB / 1.591 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/1.99, allocations: 67.95 kB / 1.591 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/1.992, allocations: 2.494 MB / 1.593 GB, free: 8.91 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.992, allocations: 0 / 1.593 GB, free: 8.91 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007805/2, allocations: 4.356 MB / 1.597 GB, free: 4.465 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004246/2.004, allocations: 0.9816 MB / 1.598 GB, free: 3.457 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007712/2.005, allocations: 47.88 kB / 1.598 GB, free: 3.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003355/2.008, allocations: 427.1 kB / 1.599 GB, free: 2.992 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/2.009, allocations: 145.8 kB / 1.599 GB, free: 2.852 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/2.009, allocations: 115.9 kB / 1.599 GB, free: 2.738 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.005235/2.014, allocations: 2.793 MB / 1.602 GB, free: 15.97 MB / 1.201 GB Notification: Performance of sort global known variables: time 3e-07/2.014, allocations: 0 / 1.602 GB, free: 15.97 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01209/2.026, allocations: 3.273 MB / 1.605 GB, free: 12.69 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.003295/2.03, allocations: 1.503 MB / 1.606 GB, free: 11.18 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008272/2.038, allocations: 4.444 MB / 1.611 GB, free: 6.68 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/2.038, allocations: 4.875 kB / 1.611 GB, free: 6.676 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00204/2.04, allocations: 1.237 MB / 1.612 GB, free: 5.434 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01695/2.057, allocations: 2.65 MB / 1.615 GB, free: 2.809 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/2.079, allocations: 11.56 MB / 1.626 GB, free: 7.215 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002902/2.081, allocations: 2.87 MB / 1.629 GB, free: 4.316 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.006298/2.088, allocations: 1.161 MB / 1.63 GB, free: 3.148 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/2.089, allocations: 419.2 kB / 1.63 GB, free: 2.738 MB / 1.217 GB Notification: Performance of SimCode: time 1.644e-06/2.089, allocations: 4 kB / 1.63 GB, free: 2.734 MB / 1.217 GB Notification: Performance of Templates: time 0.1948/2.284, allocations: 103 MB / 1.731 GB, free: 12.95 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)