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.001241/0.00124, allocations: 106.4 kB / 16.27 MB, free: 5.977 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.00108/0.00108, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.358/1.358, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.818/1.818, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001392/0.001392, allocations: 75.88 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2516, allocations: 114.5 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6438/0.8955, allocations: 300.3 MB / 1.077 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.07047/0.966, allocations: 49.55 MB / 1.126 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.9778, allocations: 286.3 kB / 1.126 GB, free: 11.95 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.989, allocations: 3.415 MB / 1.129 GB, free: 8.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.5419/1.531, allocations: 8.989 MB / 1.138 GB, free: 68.12 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01791/1.549, allocations: 6.609 MB / 1.145 GB, free: 68.12 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.03269/1.582, allocations: 18.37 MB / 1.162 GB, free: 68.1 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01571/1.597, allocations: 5.825 MB / 1.168 GB, free: 67.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02579/1.623, allocations: 7.354 MB / 1.175 GB, free: 67.39 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01397/1.637, allocations: 5.072 MB / 1.18 GB, free: 66.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00443/1.642, allocations: 0.568 MB / 1.181 GB, free: 66.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01886/1.661, allocations: 4.379 MB / 1.185 GB, free: 66.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004098/1.665, allocations: 1.505 MB / 1.187 GB, free: 66.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01294/1.678, allocations: 3.739 MB / 1.19 GB, free: 65.29 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02592/1.704, allocations: 10.31 MB / 1.2 GB, free: 64.01 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/1.704, allocations: 7.219 kB / 1.2 GB, free: 64.01 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.766e-06/1.704, allocations: 0 / 1.2 GB, free: 64.01 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004312/1.704, allocations: 0 / 1.2 GB, free: 64.01 MB / 0.92 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.02103/1.725, allocations: 7.466 MB / 1.208 GB, free: 60.61 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.725, allocations: 8.625 kB / 1.208 GB, free: 60.61 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/1.729, allocations: 0.7855 MB / 1.208 GB, free: 60.24 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/1.74, allocations: 4.99 MB / 1.213 GB, free: 59.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/1.741, allocations: 321.2 kB / 1.214 GB, free: 59.15 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/1.742, allocations: 437.9 kB / 1.214 GB, free: 59.15 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007761/1.749, allocations: 4.384 MB / 1.218 GB, free: 58.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.022e-05/1.75, allocations: 12.95 kB / 1.218 GB, free: 58.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003887/1.75, allocations: 176.3 kB / 1.218 GB, free: 58.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/1.75, allocations: 120.6 kB / 1.219 GB, free: 58.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/1.755, allocations: 2.957 MB / 1.221 GB, free: 58.3 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.02864/1.784, allocations: 25.28 MB / 1.246 GB, free: 42.36 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/1.787, allocations: 2.773 MB / 1.249 GB, free: 41.18 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/1.788, allocations: 1 MB / 1.25 GB, free: 41.15 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/1.79, allocations: 3.903 MB / 1.254 GB, free: 36.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/1.79, allocations: 70.16 kB / 1.254 GB, free: 36.7 MB / 0.92 GB Notification: Performance of pre-optimization done (n=217): time 4.007e-06/1.79, allocations: 0 / 1.254 GB, free: 36.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=217): time 0.01028/1.8, allocations: 4.074 MB / 1.258 GB, free: 35.87 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.8, allocations: 76 kB / 1.258 GB, free: 35.8 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00667/1.807, allocations: 4.262 MB / 1.262 GB, free: 34.83 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000662/1.808, allocations: 82.55 kB / 1.262 GB, free: 34.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.81, allocations: 2.779 MB / 1.265 GB, free: 33.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.811, allocations: 0.7549 MB / 1.265 GB, free: 33.1 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007915/1.812, allocations: 0.5822 MB / 1.266 GB, free: 32.99 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.712e-05/1.812, allocations: 304.6 kB / 1.266 GB, free: 32.69 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/1.813, allocations: 0.8201 MB / 1.267 GB, free: 32.57 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/1.815, allocations: 1.826 MB / 1.269 GB, free: 31.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/1.818, allocations: 2.513 MB / 1.271 GB, free: 30.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/1.818, allocations: 5.781 kB / 1.271 GB, free: 30.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008054/1.826, allocations: 3.565 MB / 1.275 GB, free: 28.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.826, allocations: 16 kB / 1.275 GB, free: 28.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/1.826, allocations: 20 kB / 1.275 GB, free: 28.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002415/1.828, allocations: 0.5976 MB / 1.275 GB, free: 27.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.83, allocations: 0.5533 MB / 1.276 GB, free: 27.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/1.832, allocations: 2.681 MB / 1.279 GB, free: 24.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004887/1.837, allocations: 357.6 kB / 1.279 GB, free: 24.62 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/1.837, allocations: 135.5 kB / 1.279 GB, free: 24.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00369/1.841, allocations: 1.57 MB / 1.281 GB, free: 23.6 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001998/1.843, allocations: 1.799 MB / 1.282 GB, free: 21.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003079/1.846, allocations: 2.464 MB / 1.285 GB, free: 19 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.515e-05/1.846, allocations: 11.94 kB / 1.285 GB, free: 18.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007231/1.853, allocations: 3.319 MB / 1.288 GB, free: 15.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/1.853, allocations: 16 kB / 1.288 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/1.853, allocations: 20 kB / 1.288 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008705/1.854, allocations: 367 kB / 1.288 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/1.856, allocations: 0.5594 MB / 1.289 GB, free: 14.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/1.862, allocations: 8.467 MB / 1.297 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004873/1.867, allocations: 332.2 kB / 1.298 GB, free: 5.535 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005074/1.867, allocations: 136 kB / 1.298 GB, free: 5.402 MB / 0.92 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.0008563/1.868, allocations: 369.8 kB / 1.298 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002113/1.87, allocations: 0.5054 MB / 1.299 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006058/1.876, allocations: 3.563 MB / 1.302 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/1.877, allocations: 39.91 kB / 1.302 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.877, allocations: 0 / 1.302 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003668/1.88, allocations: 2.443 MB / 1.304 GB, free: 14.55 MB / 0.9356 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.01797/1.898, allocations: 8.243 MB / 1.312 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.898, allocations: 0 / 1.312 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.9, allocations: 366.2 kB / 1.313 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007602/1.9, allocations: 313.1 kB / 1.313 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/1.901, allocations: 63.97 kB / 1.313 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.902, allocations: 2.497 MB / 1.316 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.902, allocations: 2.625 kB / 1.316 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008375/1.911, allocations: 4.334 MB / 1.32 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002994/1.914, allocations: 0.8806 MB / 1.321 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/1.915, allocations: 48 kB / 1.321 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/1.918, allocations: 117.7 kB / 1.321 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/1.919, allocations: 149.8 kB / 1.321 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002667/1.919, allocations: 115.9 kB / 1.321 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.005692/1.924, allocations: 2.831 MB / 1.324 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/1.925, allocations: 0 / 1.324 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01208/1.937, allocations: 3.238 MB / 1.327 GB, free: 7.07 MB / 0.9512 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.003529/1.94, allocations: 1.518 MB / 1.329 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.952, allocations: 4.873 MB / 1.333 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.952, allocations: 0 / 1.333 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/1.955, allocations: 1.227 MB / 1.335 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01408/1.969, allocations: 2.687 MB / 1.337 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/1.985, allocations: 9.187 MB / 1.346 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/1.987, allocations: 2.846 MB / 1.349 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.989, allocations: 433.2 kB / 1.349 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of SimCode: time 1.252e-06/1.989, allocations: 0 / 1.349 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of Templates: time 0.2293/2.218, allocations: 191.2 MB / 1.536 GB, free: 2.465 MB / 1.154 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)