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.001122/0.001122, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005638/0.005638, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.345/1.345, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.743/1.743, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0009066/0.0009071, allocations: 14.25 kB / 0.6743 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2324, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7248/0.9573, allocations: 294 MB / 1.075 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.06343/1.021, allocations: 49.23 MB / 1.123 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009657/1.03, allocations: 254.2 kB / 1.123 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00847/1.039, allocations: 2.778 MB / 1.126 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02278/1.062, allocations: 8.369 MB / 1.134 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01718/1.079, allocations: 6.031 MB / 1.14 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.03028/1.109, allocations: 24.49 MB / 1.164 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0098/1.119, allocations: 4.714 MB / 1.169 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01587/1.135, allocations: 6.202 MB / 1.175 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009854/1.145, allocations: 4.899 MB / 1.179 GB, free: 320 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002273/1.147, allocations: 232 kB / 1.18 GB, free: 88 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/1.159, allocations: 3.905 MB / 1.183 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002269/1.161, allocations: 1.123 MB / 1.185 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006784/1.168, allocations: 3.32 MB / 1.188 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01929/1.187, allocations: 9.928 MB / 1.198 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.187, allocations: 4 kB / 1.198 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.695e-06/1.187, allocations: 0 / 1.198 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002705/1.188, allocations: 0 / 1.198 GB, free: 13.73 MB / 0.9044 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.01134/1.199, allocations: 6.175 MB / 1.204 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.199, allocations: 8.031 kB / 1.204 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/1.201, allocations: 0.7803 MB / 1.204 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008274/1.209, allocations: 5.161 MB / 1.209 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/1.209, allocations: 324.1 kB / 1.21 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/1.21, allocations: 435.9 kB / 1.21 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006814/1.217, allocations: 4.389 MB / 1.214 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.817e-05/1.217, allocations: 19.78 kB / 1.214 GB, free: 11.95 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/1.217, allocations: 176 kB / 1.215 GB, free: 11.78 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/1.217, allocations: 123.9 kB / 1.215 GB, free: 11.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004977/1.222, allocations: 2.969 MB / 1.218 GB, free: 8.688 MB / 0.92 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.02731/1.25, allocations: 25.04 MB / 1.242 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/1.253, allocations: 2.767 MB / 1.245 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/1.254, allocations: 0.9954 MB / 1.246 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002899/1.257, allocations: 3.92 MB / 1.25 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/1.257, allocations: 64.56 kB / 1.25 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=217): time 4.198e-06/1.257, allocations: 0 / 1.25 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=217): time 0.01023/1.267, allocations: 4.123 MB / 1.254 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.267, allocations: 77.41 kB / 1.254 GB, free: 472 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006361/1.274, allocations: 4.203 MB / 1.258 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004212/1.274, allocations: 81.7 kB / 1.258 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.276, allocations: 2.768 MB / 1.261 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008597/1.277, allocations: 0.7586 MB / 1.261 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/1.277, allocations: 235.6 kB / 1.262 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.278, allocations: 301.1 kB / 1.262 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/1.279, allocations: 0.8138 MB / 1.263 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/1.281, allocations: 1.83 MB / 1.264 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/1.285, allocations: 2.529 MB / 1.267 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/1.285, allocations: 8 kB / 1.267 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.4611/1.746, allocations: 3.572 MB / 1.27 GB, free: 352.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004364/1.746, allocations: 0.7395 MB / 1.271 GB, free: 351.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/1.746, allocations: 21.94 kB / 1.271 GB, free: 351.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/1.749, allocations: 0.5933 MB / 1.272 GB, free: 351.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/1.751, allocations: 0.5553 MB / 1.272 GB, free: 351.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/1.753, allocations: 2.697 MB / 1.275 GB, free: 349.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005467/1.759, allocations: 0.6154 MB / 1.275 GB, free: 349.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000453/1.759, allocations: 138.4 kB / 1.276 GB, free: 349.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.759, allocations: 3.688 kB / 1.276 GB, free: 349.8 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004998/1.764, allocations: 2.826 MB / 1.278 GB, free: 349.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/1.764, allocations: 23.06 kB / 1.278 GB, free: 349.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008904/1.765, allocations: 366.2 kB / 1.279 GB, free: 349.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.767, allocations: 0.5587 MB / 1.279 GB, free: 349.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/1.774, allocations: 7.718 MB / 1.287 GB, free: 343.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/1.779, allocations: 0.5751 MB / 1.287 GB, free: 343.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004644/1.78, allocations: 129 kB / 1.288 GB, free: 343.4 MB / 0.9669 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.002625/1.782, allocations: 1.008 MB / 1.289 GB, free: 342.8 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/1.784, allocations: 0.4983 MB / 1.289 GB, free: 342.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007124/1.791, allocations: 3.588 MB / 1.292 GB, free: 341.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-05/1.791, allocations: 36.17 kB / 1.293 GB, free: 341.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.791, allocations: 2.969 kB / 1.293 GB, free: 341.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004587/1.795, allocations: 2.447 MB / 1.295 GB, free: 340.4 MB / 0.9669 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.0162/1.812, allocations: 8.218 MB / 1.303 GB, free: 336.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.812, allocations: 0.875 kB / 1.303 GB, free: 336.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.813, allocations: 367.4 kB / 1.303 GB, free: 336.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006963/1.814, allocations: 312.4 kB / 1.304 GB, free: 336.3 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/1.814, allocations: 61 kB / 1.304 GB, free: 336.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/1.815, allocations: 2.504 MB / 1.306 GB, free: 334 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.815, allocations: 0.9688 kB / 1.306 GB, free: 334 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007286/1.823, allocations: 4.348 MB / 1.31 GB, free: 332.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003183/1.826, allocations: 0.9739 MB / 1.311 GB, free: 331.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.827, allocations: 50.09 kB / 1.311 GB, free: 331.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003578/1.83, allocations: 424 kB / 1.312 GB, free: 331.4 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/1.831, allocations: 166.2 kB / 1.312 GB, free: 331.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.831, allocations: 105.9 kB / 1.312 GB, free: 331.4 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004492/1.835, allocations: 2.773 MB / 1.315 GB, free: 330.4 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.21e-07/1.835, allocations: 0 / 1.315 GB, free: 330.4 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01127/1.847, allocations: 3.266 MB / 1.318 GB, free: 329.8 MB / 0.9669 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.00289/1.85, allocations: 1.498 MB / 1.319 GB, free: 329.4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007041/1.857, allocations: 4.444 MB / 1.324 GB, free: 327.6 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.857, allocations: 0 / 1.324 GB, free: 327.6 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/1.859, allocations: 1.247 MB / 1.325 GB, free: 327.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01542/1.874, allocations: 2.677 MB / 1.328 GB, free: 326.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.887, allocations: 11.52 MB / 1.339 GB, free: 318.8 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/1.889, allocations: 2.861 MB / 1.342 GB, free: 316 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004741/1.894, allocations: 1.161 MB / 1.343 GB, free: 314.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007924/1.895, allocations: 411.2 kB / 1.343 GB, free: 314.4 MB / 0.9669 GB Notification: Performance of SimCode: time 8.12e-07/1.895, allocations: 0 / 1.343 GB, free: 314.4 MB / 0.9669 GB Notification: Performance of Templates: time 0.1393/2.034, allocations: 103.9 MB / 1.445 GB, free: 211.8 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: