Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 288.3 MB / 303.2 MB, free: 8.141 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.001098/0.001098, allocations: 187.9 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.000856/0.0008558, allocations: 98.8 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006432/0.0006433, allocations: 17.12 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2373, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8334/1.071, allocations: 250.9 MB / 1.224 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.06869/1.14, allocations: 42.61 MB / 1.266 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01298/1.153, allocations: 234.3 kB / 1.266 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01343/1.166, allocations: 2.973 MB / 1.269 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0389/1.205, allocations: 8.965 MB / 1.278 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.02104/1.226, allocations: 6.016 MB / 1.284 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02486/1.251, allocations: 10.76 MB / 1.294 GB, free: 8.371 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01244/1.263, allocations: 4.313 MB / 1.299 GB, free: 4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0186/1.282, allocations: 5.403 MB / 1.304 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009448/1.292, allocations: 3.208 MB / 1.307 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003389/1.295, allocations: 228 kB / 1.307 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0138/1.309, allocations: 2.801 MB / 1.31 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00348/1.312, allocations: 1.027 MB / 1.311 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.004873/1.317, allocations: 1.373 MB / 1.312 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01635/1.334, allocations: 7.306 MB / 1.319 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.334, allocations: 0 / 1.319 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.166e-06/1.334, allocations: 0 / 1.319 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005152/1.334, allocations: 0 / 1.319 GB, free: 14.59 MB / 0.8542 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.01812/1.352, allocations: 6.226 MB / 1.325 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/1.352, allocations: 8.031 kB / 1.325 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/1.357, allocations: 0.7881 MB / 1.326 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/1.371, allocations: 4.644 MB / 1.331 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004847/1.371, allocations: 320.1 kB / 1.331 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001576/1.373, allocations: 439.9 kB / 1.331 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/1.386, allocations: 4.319 MB / 1.336 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/1.386, allocations: 23.7 kB / 1.336 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009819/1.387, allocations: 172 kB / 1.336 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/1.387, allocations: 119.9 kB / 1.336 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007633/1.395, allocations: 2.941 MB / 1.339 GB, free: 10.11 MB / 0.8698 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.03908/1.434, allocations: 25.17 MB / 1.363 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00383/1.438, allocations: 2.749 MB / 1.366 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003444/1.441, allocations: 3.908 MB / 1.37 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.637e-05/1.442, allocations: 72.5 kB / 1.37 GB, free: 7.078 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=217): time 5.06e-06/1.442, allocations: 0 / 1.37 GB, free: 7.078 MB / 0.9011 GB Notification: Performance of matching and sorting (n=217): time 0.01193/1.454, allocations: 4.065 MB / 1.374 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.454, allocations: 81.34 kB / 1.374 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009978/1.464, allocations: 4.371 MB / 1.378 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007154/1.464, allocations: 81.7 kB / 1.378 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002895/1.467, allocations: 2.775 MB / 1.381 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001254/1.469, allocations: 0.7547 MB / 1.382 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/1.469, allocations: 56 kB / 1.382 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000286/1.469, allocations: 415.8 kB / 1.382 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/1.471, allocations: 0.7865 MB / 1.383 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/1.474, allocations: 1.795 MB / 1.385 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/1.476, allocations: 1.073 MB / 1.386 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.262e-05/1.476, allocations: 4 kB / 1.386 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009046/1.485, allocations: 3.496 MB / 1.389 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003887/1.489, allocations: 10.3 MB / 1.399 GB, free: 7.613 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-05/1.489, allocations: 24 kB / 1.399 GB, free: 7.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002816/1.492, allocations: 0.5652 MB / 1.4 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/1.494, allocations: 0.5616 MB / 1.4 GB, free: 6.449 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/1.497, allocations: 2.686 MB / 1.403 GB, free: 3.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005693/1.502, allocations: 0.6297 MB / 1.404 GB, free: 3.027 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005932/1.503, allocations: 140 kB / 1.404 GB, free: 2.891 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.503, allocations: 7.938 kB / 1.404 GB, free: 2.883 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006628/1.51, allocations: 2.794 MB / 1.407 GB, free: 36 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-05/1.51, allocations: 24.97 kB / 1.407 GB, free: 12 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/1.511, allocations: 375.1 kB / 1.407 GB, free: 15.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.513, allocations: 0.5538 MB / 1.407 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008716/1.522, allocations: 7.783 MB / 1.415 GB, free: 6.703 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/1.528, allocations: 0.5871 MB / 1.416 GB, free: 6.117 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006586/1.528, allocations: 136 kB / 1.416 GB, free: 5.984 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.003168/1.532, allocations: 0.9975 MB / 1.417 GB, free: 4.977 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002051/1.534, allocations: 0.5056 MB / 1.417 GB, free: 4.465 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007475/1.541, allocations: 3.58 MB / 1.421 GB, free: 0.8164 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-05/1.541, allocations: 39.97 kB / 1.421 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/1.541, allocations: 4 kB / 1.421 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004475/1.546, allocations: 2.435 MB / 1.423 GB, free: 14.29 MB / 0.9636 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.01688/1.563, allocations: 8.287 MB / 1.431 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.563, allocations: 0 / 1.431 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.564, allocations: 371.5 kB / 1.432 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007044/1.565, allocations: 303.1 kB / 1.432 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/1.565, allocations: 59.97 kB / 1.432 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/1.567, allocations: 2.494 MB / 1.434 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.567, allocations: 192 / 1.434 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4697/2.036, allocations: 4.427 MB / 1.439 GB, free: 350.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003703/2.04, allocations: 1.029 MB / 1.44 GB, free: 350.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/2.041, allocations: 41.19 kB / 1.44 GB, free: 350.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003952/2.045, allocations: 429.2 kB / 1.44 GB, free: 350.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/2.046, allocations: 151.9 kB / 1.44 GB, free: 350.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/2.046, allocations: 110.7 kB / 1.44 GB, free: 350.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.006563/2.053, allocations: 2.903 MB / 1.443 GB, free: 349.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.01e-07/2.053, allocations: 0 / 1.443 GB, free: 349.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01552/2.068, allocations: 3.318 MB / 1.447 GB, free: 349.4 MB / 0.9636 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.003832/2.072, allocations: 1.534 MB / 1.448 GB, free: 349.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00921/2.081, allocations: 4.4 MB / 1.452 GB, free: 347.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/2.081, allocations: 2.188 kB / 1.452 GB, free: 347.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/2.084, allocations: 1.231 MB / 1.454 GB, free: 346.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0172/2.101, allocations: 2.638 MB / 1.456 GB, free: 346.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/2.125, allocations: 11 MB / 1.467 GB, free: 340.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004151/2.129, allocations: 2.979 MB / 1.47 GB, free: 339.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006818/2.136, allocations: 1.172 MB / 1.471 GB, free: 339.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/2.137, allocations: 415 kB / 1.471 GB, free: 339.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.042e-06/2.137, allocations: 0 / 1.471 GB, free: 339.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.1926/2.33, allocations: 104.1 MB / 1.573 GB, free: 255 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)