Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001333/0.001332, 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.001576/0.001576, allocations: 192.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 68.27 kB / 0.671 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2195, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6545/0.8741, allocations: 297.5 MB / 1.073 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.06157/0.9357, allocations: 49.26 MB / 1.121 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01107/0.9468, allocations: 262.3 kB / 1.122 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.9592, allocations: 2.938 MB / 1.125 GB, free: 408 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02562/0.9848, allocations: 8.37 MB / 1.133 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01564/1, allocations: 6.113 MB / 1.139 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02389/1.024, allocations: 18.5 MB / 1.157 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00884/1.033, allocations: 5.753 MB / 1.162 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02136/1.055, allocations: 7.419 MB / 1.17 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008999/1.064, allocations: 5.231 MB / 1.175 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001803/1.065, allocations: 0.5664 MB / 1.175 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/1.077, allocations: 4.448 MB / 1.18 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00173/1.078, allocations: 1.498 MB / 1.181 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005531/1.084, allocations: 3.744 MB / 1.185 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01514/1.099, allocations: 10.37 MB / 1.195 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/1.099, allocations: 4 kB / 1.195 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/1.099, allocations: 0 / 1.195 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001616/1.099, allocations: 0 / 1.195 GB, free: 8.156 MB / 0.8887 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.01239/1.112, allocations: 7.471 MB / 1.202 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.112, allocations: 8.031 kB / 1.202 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/1.114, allocations: 0.7843 MB / 1.203 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008665/1.123, allocations: 5.149 MB / 1.208 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/1.123, allocations: 324.1 kB / 1.208 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004858/1.124, allocations: 447.9 kB / 1.209 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006709/1.13, allocations: 4.377 MB / 1.213 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-05/1.13, allocations: 11.88 kB / 1.213 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/1.131, allocations: 176 kB / 1.213 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.131, allocations: 116 kB / 1.213 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004496/1.135, allocations: 2.965 MB / 1.216 GB, free: 1.836 MB / 0.9044 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.02332/1.159, allocations: 25.01 MB / 1.241 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/1.161, allocations: 2.76 MB / 1.243 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/1.163, allocations: 0.9954 MB / 1.244 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002758/1.165, allocations: 3.904 MB / 1.248 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/1.166, allocations: 64.56 kB / 1.248 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=217): time 4.538e-06/1.166, allocations: 0 / 1.248 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=217): time 0.009936/1.175, allocations: 4.076 MB / 1.252 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/1.176, allocations: 73.41 kB / 1.252 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/1.181, allocations: 4.199 MB / 1.256 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002913/1.181, allocations: 81.7 kB / 1.256 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001959/1.183, allocations: 2.795 MB / 1.259 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007278/1.184, allocations: 0.7625 MB / 1.26 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006998/1.185, allocations: 0.5763 MB / 1.26 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/1.185, allocations: 301.1 kB / 1.261 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/1.186, allocations: 0.8231 MB / 1.262 GB, free: 156 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/1.188, allocations: 1.826 MB / 1.263 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/1.191, allocations: 2.513 MB / 1.266 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/1.191, allocations: 8 kB / 1.266 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007378/1.199, allocations: 3.555 MB / 1.269 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/1.199, allocations: 19.98 kB / 1.269 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/1.199, allocations: 20 kB / 1.269 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/1.202, allocations: 0.5892 MB / 1.27 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.203, allocations: 0.5538 MB / 1.27 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/1.205, allocations: 2.691 MB / 1.273 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/1.21, allocations: 0.6102 MB / 1.274 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.21, allocations: 136.1 kB / 1.274 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003092/1.213, allocations: 1.564 MB / 1.275 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002006/1.215, allocations: 1.81 MB / 1.277 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003046/1.219, allocations: 2.463 MB / 1.279 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.023e-05/1.219, allocations: 8 kB / 1.279 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006205/1.225, allocations: 3.306 MB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/1.225, allocations: 19.11 kB / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.225, allocations: 24 kB / 1.283 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/1.226, allocations: 378.5 kB / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.228, allocations: 0.5499 MB / 1.284 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4877/1.715, allocations: 8.452 MB / 1.292 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006205/1.721, allocations: 0.5963 MB / 1.293 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003617/1.722, allocations: 131 kB / 1.293 GB, free: 365.7 MB / 0.9825 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.000845/1.723, allocations: 367.4 kB / 1.293 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.724, allocations: 0.5016 MB / 1.293 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006871/1.731, allocations: 3.576 MB / 1.297 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.943e-05/1.731, allocations: 36.81 kB / 1.297 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.731, allocations: 3.75 kB / 1.297 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003231/1.734, allocations: 2.444 MB / 1.299 GB, free: 365 MB / 0.9825 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.0131/1.747, allocations: 8.196 MB / 1.307 GB, free: 361.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.747, allocations: 1.125 kB / 1.307 GB, free: 361.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/1.749, allocations: 374 kB / 1.308 GB, free: 361.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008137/1.75, allocations: 307.4 kB / 1.308 GB, free: 361.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/1.75, allocations: 66.34 kB / 1.308 GB, free: 361.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/1.751, allocations: 2.489 MB / 1.311 GB, free: 359.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.751, allocations: 2.578 kB / 1.311 GB, free: 359.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008407/1.76, allocations: 4.344 MB / 1.315 GB, free: 357.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/1.763, allocations: 0.8772 MB / 1.316 GB, free: 357 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006599/1.763, allocations: 42.94 kB / 1.316 GB, free: 356.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003103/1.766, allocations: 419.7 kB / 1.316 GB, free: 356.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.767, allocations: 153 kB / 1.316 GB, free: 356.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/1.767, allocations: 113.8 kB / 1.316 GB, free: 356.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00475/1.772, allocations: 2.772 MB / 1.319 GB, free: 355.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.8e-07/1.772, allocations: 1.859 kB / 1.319 GB, free: 355.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01228/1.784, allocations: 3.282 MB / 1.322 GB, free: 355.4 MB / 0.9825 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.003213/1.787, allocations: 1.451 MB / 1.324 GB, free: 355.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.799, allocations: 4.873 MB / 1.328 GB, free: 353.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.799, allocations: 6.531 kB / 1.328 GB, free: 353.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/1.801, allocations: 1.23 MB / 1.33 GB, free: 352.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0117/1.813, allocations: 2.675 MB / 1.332 GB, free: 352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.826, allocations: 11.35 MB / 1.343 GB, free: 345.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/1.828, allocations: 2.862 MB / 1.346 GB, free: 344.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004798/1.833, allocations: 1.156 MB / 1.347 GB, free: 344.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008937/1.834, allocations: 419.2 kB / 1.348 GB, free: 344.2 MB / 0.9825 GB Notification: Performance of SimCode: time 2.675e-06/1.834, allocations: 0 / 1.348 GB, free: 344.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.1505/1.984, allocations: 107.3 MB / 1.452 GB, free: 242.9 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)