Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.99/2.99, allocations: 287.5 MB / 302.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 182.5 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009868/0.0009868, allocations: 88.28 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.000633, allocations: 12.22 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2195, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.063/1.283, allocations: 277.5 MB / 1.249 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1008/1.383, allocations: 46.57 MB / 1.295 GB, free: 10.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/1.395, allocations: 254.2 kB / 1.295 GB, free: 10.25 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01264/1.408, allocations: 2.376 MB / 1.297 GB, free: 7.859 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.03354/1.442, allocations: 7.224 MB / 1.304 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02316/1.465, allocations: 4.813 MB / 1.309 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.04009/1.505, allocations: 20.98 MB / 1.33 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01368/1.519, allocations: 4.284 MB / 1.334 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01996/1.539, allocations: 5.904 MB / 1.34 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/1.551, allocations: 4.608 MB / 1.344 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002604/1.554, allocations: 232 kB / 1.344 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02134/1.575, allocations: 2.643 MB / 1.347 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.005201/1.581, allocations: 1.061 MB / 1.348 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.007117/1.588, allocations: 1.369 MB / 1.349 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0246/1.612, allocations: 7.444 MB / 1.357 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/1.612, allocations: 0 / 1.357 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.266e-06/1.613, allocations: 0 / 1.357 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000364/1.613, allocations: 4 kB / 1.357 GB, free: 11.1 MB / 0.8855 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.0272/1.64, allocations: 6.242 MB / 1.363 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/1.64, allocations: 12.03 kB / 1.363 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005582/1.646, allocations: 0.7842 MB / 1.363 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02189/1.668, allocations: 4.951 MB / 1.368 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004862/1.668, allocations: 324 kB / 1.369 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/1.67, allocations: 435.9 kB / 1.369 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/1.683, allocations: 4.361 MB / 1.373 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/1.683, allocations: 15.88 kB / 1.373 GB, free: 9.492 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006182/1.684, allocations: 176 kB / 1.373 GB, free: 9.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/1.684, allocations: 123.9 kB / 1.374 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009256/1.693, allocations: 2.937 MB / 1.376 GB, free: 6.258 MB / 0.9011 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.04165/1.735, allocations: 25.04 MB / 1.401 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005028/1.74, allocations: 2.748 MB / 1.404 GB, free: 8.223 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/1.742, allocations: 0.9876 MB / 1.405 GB, free: 7.23 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004463/1.747, allocations: 3.92 MB / 1.408 GB, free: 2.445 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/1.747, allocations: 60.56 kB / 1.408 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=217): time 8.686e-06/1.747, allocations: 7.984 kB / 1.408 GB, free: 2.367 MB / 0.9323 GB Notification: Performance of matching and sorting (n=217): time 0.01756/1.765, allocations: 4.076 MB / 1.412 GB, free: 14.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/1.765, allocations: 73.41 kB / 1.412 GB, free: 14.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009661/1.774, allocations: 4.152 MB / 1.417 GB, free: 9.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006106/1.775, allocations: 81.7 kB / 1.417 GB, free: 9.895 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003511/1.779, allocations: 2.773 MB / 1.419 GB, free: 7.102 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.78, allocations: 0.7663 MB / 1.42 GB, free: 6.324 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.78, allocations: 56 kB / 1.42 GB, free: 6.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002754/1.781, allocations: 415.9 kB / 1.421 GB, free: 5.859 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/1.783, allocations: 0.7826 MB / 1.421 GB, free: 5.074 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/1.787, allocations: 1.806 MB / 1.423 GB, free: 2.832 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/1.79, allocations: 1.073 MB / 1.424 GB, free: 1.738 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/1.79, allocations: 8 kB / 1.424 GB, free: 1.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.6942/2.485, allocations: 3.488 MB / 1.427 GB, free: 340.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007226/2.485, allocations: 0.7486 MB / 1.428 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.263e-05/2.485, allocations: 21.31 kB / 1.428 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00697/2.492, allocations: 0.5732 MB / 1.429 GB, free: 339.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/2.498, allocations: 0.5558 MB / 1.429 GB, free: 339.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/2.502, allocations: 2.689 MB / 1.432 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01175/2.514, allocations: 0.61 MB / 1.433 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009808/2.515, allocations: 134 kB / 1.433 GB, free: 337 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/2.515, allocations: 3.938 kB / 1.433 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01509/2.53, allocations: 2.802 MB / 1.435 GB, free: 336 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/2.53, allocations: 25.55 kB / 1.435 GB, free: 336 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/2.533, allocations: 371.9 kB / 1.436 GB, free: 335.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005656/2.539, allocations: 0.5552 MB / 1.436 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/2.557, allocations: 7.705 MB / 1.444 GB, free: 329.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/2.568, allocations: 0.5689 MB / 1.444 GB, free: 329.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009305/2.569, allocations: 136.5 kB / 1.445 GB, free: 329.1 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004903/2.574, allocations: 1 MB / 1.446 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002289/2.576, allocations: 0.5006 MB / 1.446 GB, free: 328.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/2.593, allocations: 3.574 MB / 1.45 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001441/2.593, allocations: 36.12 kB / 1.45 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/2.593, allocations: 3.938 kB / 1.45 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0113/2.605, allocations: 2.429 MB / 1.452 GB, free: 325.9 MB / 0.948 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.02481/2.63, allocations: 8.203 MB / 1.46 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/2.63, allocations: 1.656 kB / 1.46 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/2.632, allocations: 367.6 kB / 1.46 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/2.634, allocations: 309.2 kB / 1.461 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004154/2.634, allocations: 62.23 kB / 1.461 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/2.636, allocations: 2.505 MB / 1.463 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/2.636, allocations: 1.125 kB / 1.463 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/2.649, allocations: 4.327 MB / 1.467 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003744/2.653, allocations: 0.9761 MB / 1.468 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001671/2.655, allocations: 43.25 kB / 1.468 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006891/2.662, allocations: 425.9 kB / 1.469 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006342/2.662, allocations: 150.5 kB / 1.469 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004276/2.663, allocations: 111.9 kB / 1.469 GB, free: 316.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008319/2.671, allocations: 2.734 MB / 1.472 GB, free: 315.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.252e-06/2.671, allocations: 0 / 1.472 GB, free: 315.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0167/2.688, allocations: 3.258 MB / 1.475 GB, free: 315.2 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004124/2.692, allocations: 1.422 MB / 1.476 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01201/2.704, allocations: 4.393 MB / 1.481 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/2.704, allocations: 7.531 kB / 1.481 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003444/2.707, allocations: 1.229 MB / 1.482 GB, free: 312.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02379/2.731, allocations: 2.685 MB / 1.484 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/2.755, allocations: 11.01 MB / 1.495 GB, free: 305.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00439/2.759, allocations: 2.866 MB / 1.498 GB, free: 304.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007592/2.767, allocations: 1.157 MB / 1.499 GB, free: 303.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/2.769, allocations: 417.6 kB / 1.499 GB, free: 303.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/2.769, allocations: 0 / 1.499 GB, free: 303.6 MB / 0.948 GB Notification: Performance of Templates: time 0.2385/3.007, allocations: 101 MB / 1.598 GB, free: 204.8 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)