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.001065/0.001065, allocations: 102.1 kB / 16.29 MB, free: 6.43 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.001044/0.001044, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.383/1.383, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.807/1.807, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.00143/0.00143, allocations: 71.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2529, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6988/0.9517, allocations: 300.3 MB / 1.077 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.06992/1.022, allocations: 49.55 MB / 1.126 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009884/1.032, allocations: 286.3 kB / 1.126 GB, free: 11.96 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01138/1.043, allocations: 3.415 MB / 1.129 GB, free: 8.527 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.542/1.585, allocations: 8.989 MB / 1.138 GB, free: 67.94 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01733/1.602, allocations: 6.656 MB / 1.145 GB, free: 67.94 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02861/1.631, allocations: 18.4 MB / 1.163 GB, free: 67.93 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01392/1.645, allocations: 5.82 MB / 1.168 GB, free: 67.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02271/1.668, allocations: 7.387 MB / 1.176 GB, free: 67.21 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/1.68, allocations: 5.098 MB / 1.18 GB, free: 66.4 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003478/1.684, allocations: 0.5681 MB / 1.181 GB, free: 66.4 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/1.699, allocations: 4.381 MB / 1.185 GB, free: 66.4 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003861/1.703, allocations: 1.507 MB / 1.187 GB, free: 66.14 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01325/1.716, allocations: 3.735 MB / 1.19 GB, free: 65.11 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02467/1.741, allocations: 10.42 MB / 1.201 GB, free: 63.8 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.741, allocations: 0 / 1.201 GB, free: 63.8 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/1.741, allocations: 3.125 kB / 1.201 GB, free: 63.8 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000312/1.741, allocations: 2.578 kB / 1.201 GB, free: 63.8 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.01589/1.757, allocations: 7.462 MB / 1.208 GB, free: 60.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.757, allocations: 8.688 kB / 1.208 GB, free: 60.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/1.76, allocations: 0.7864 MB / 1.209 GB, free: 60.04 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00905/1.769, allocations: 4.987 MB / 1.214 GB, free: 58.96 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/1.769, allocations: 319.5 kB / 1.214 GB, free: 58.95 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006347/1.77, allocations: 437 kB / 1.214 GB, free: 58.95 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006822/1.777, allocations: 4.379 MB / 1.219 GB, free: 58.14 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.983e-05/1.777, allocations: 13.34 kB / 1.219 GB, free: 58.14 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003773/1.777, allocations: 177.3 kB / 1.219 GB, free: 58.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-05/1.777, allocations: 123.2 kB / 1.219 GB, free: 58.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004992/1.782, allocations: 2.962 MB / 1.222 GB, free: 58.1 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.02432/1.806, allocations: 25.13 MB / 1.246 GB, free: 42.24 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/1.809, allocations: 2.768 MB / 1.249 GB, free: 41.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/1.81, allocations: 0.9929 MB / 1.25 GB, free: 41.03 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/1.812, allocations: 3.909 MB / 1.254 GB, free: 36.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/1.812, allocations: 62 kB / 1.254 GB, free: 36.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=217): time 3.968e-06/1.812, allocations: 0 / 1.254 GB, free: 36.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=217): time 0.009691/1.822, allocations: 4.077 MB / 1.258 GB, free: 35.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/1.822, allocations: 73.56 kB / 1.258 GB, free: 35.53 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006186/1.828, allocations: 4.266 MB / 1.262 GB, free: 34.49 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005924/1.829, allocations: 83.58 kB / 1.262 GB, free: 34.46 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/1.831, allocations: 2.778 MB / 1.265 GB, free: 33.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009553/1.832, allocations: 0.755 MB / 1.266 GB, free: 32.76 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008086/1.833, allocations: 0.581 MB / 1.266 GB, free: 32.65 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.35e-05/1.833, allocations: 304.5 kB / 1.266 GB, free: 32.35 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/1.834, allocations: 0.8285 MB / 1.267 GB, free: 32.22 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/1.836, allocations: 1.821 MB / 1.269 GB, free: 30.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/1.839, allocations: 2.515 MB / 1.271 GB, free: 29.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.839, allocations: 6.219 kB / 1.271 GB, free: 29.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007299/1.846, allocations: 3.557 MB / 1.275 GB, free: 28.38 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/1.846, allocations: 16 kB / 1.275 GB, free: 28.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/1.846, allocations: 28.08 kB / 1.275 GB, free: 28.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/1.848, allocations: 0.5846 MB / 1.276 GB, free: 27.83 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/1.85, allocations: 0.5517 MB / 1.276 GB, free: 27.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/1.852, allocations: 2.689 MB / 1.279 GB, free: 24.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/1.856, allocations: 328.6 kB / 1.279 GB, free: 24.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/1.856, allocations: 138.5 kB / 1.279 GB, free: 24.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002765/1.859, allocations: 1.567 MB / 1.281 GB, free: 23.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001697/1.86, allocations: 1.802 MB / 1.282 GB, free: 21.54 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002707/1.863, allocations: 2.465 MB / 1.285 GB, free: 18.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.18e-05/1.863, allocations: 11.94 kB / 1.285 GB, free: 18.83 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.00611/1.869, allocations: 3.308 MB / 1.288 GB, free: 15.6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.869, allocations: 16 kB / 1.288 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.869, allocations: 20 kB / 1.288 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008494/1.87, allocations: 376.3 kB / 1.289 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/1.872, allocations: 0.5579 MB / 1.289 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/1.878, allocations: 8.446 MB / 1.297 GB, free: 5.719 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/1.882, allocations: 320.3 kB / 1.298 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005012/1.883, allocations: 132.5 kB / 1.298 GB, free: 5.277 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.0007499/1.883, allocations: 365.9 kB / 1.298 GB, free: 4.953 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/1.885, allocations: 0.5017 MB / 1.299 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005446/1.891, allocations: 3.566 MB / 1.302 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/1.891, allocations: 47.84 kB / 1.302 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.891, allocations: 0 / 1.302 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003584/1.894, allocations: 2.442 MB / 1.304 GB, free: 14.43 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.01439/1.909, allocations: 8.232 MB / 1.313 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.909, allocations: 7.984 kB / 1.313 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.91, allocations: 358.8 kB / 1.313 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000728/1.911, allocations: 309.8 kB / 1.313 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/1.911, allocations: 63.97 kB / 1.313 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/1.913, allocations: 2.494 MB / 1.316 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.913, allocations: 8.172 kB / 1.316 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007701/1.92, allocations: 4.333 MB / 1.32 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/1.923, allocations: 0.8767 MB / 1.321 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009329/1.924, allocations: 48 kB / 1.321 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/1.926, allocations: 119.3 kB / 1.321 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/1.926, allocations: 145.8 kB / 1.321 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/1.927, allocations: 115.9 kB / 1.321 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004705/1.931, allocations: 2.834 MB / 1.324 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.91e-07/1.931, allocations: 0 / 1.324 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01042/1.942, allocations: 3.238 MB / 1.327 GB, free: 6.973 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.00325/1.945, allocations: 1.519 MB / 1.329 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007571/1.953, allocations: 4.428 MB / 1.333 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.953, allocations: 4 kB / 1.333 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/1.955, allocations: 1.237 MB / 1.334 GB, free: 60 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01245/1.967, allocations: 2.665 MB / 1.337 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.982, allocations: 8.97 MB / 1.345 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00246/1.984, allocations: 2.869 MB / 1.348 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.005096/1.989, allocations: 1.156 MB / 1.349 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.99, allocations: 413.8 kB / 1.35 GB, free: 104 kB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/1.99, allocations: 0 / 1.35 GB, free: 104 kB / 0.9669 GB Notification: Performance of Templates: time 0.1841/2.175, allocations: 109.1 MB / 1.456 GB, free: 5.18 MB / 1.076 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)