Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 84.8 kB / 21.62 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 167 kB / 25.05 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9631/0.9631, allocations: 177.1 MB / 205.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.868/1.868, allocations: 389.6 MB / 0.6363 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.462e-05, allocations: 5.266 kB / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.01454/0.01456, allocations: 21.56 MB / 0.7972 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.02501, allocations: 7.526 MB / 0.8045 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.02641, allocations: 88.31 kB / 0.8046 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009218/0.02734, allocations: 480.3 kB / 0.8051 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.03066, allocations: 1.954 MB / 0.807 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.03258, allocations: 1.273 MB / 0.8082 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003287/0.03587, allocations: 4.361 MB / 0.8125 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.03714, allocations: 1.177 MB / 0.8136 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.03892, allocations: 2.104 MB / 0.8157 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008972/0.03982, allocations: 0.9791 MB / 0.8166 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.03997, allocations: 156 kB / 0.8168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.04107, allocations: 0.7952 MB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004929/0.04156, allocations: 416.3 kB / 0.818 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.04198, allocations: 0.604 MB / 0.8185 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.04343, allocations: 1.709 MB / 0.8202 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.04343, allocations: 0 / 0.8202 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.142e-06/0.04343, allocations: 0 / 0.8202 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.04344, allocations: 0.8438 kB / 0.8202 GB, free: 8.129 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001714/0.04516, allocations: 1.92 MB / 0.8221 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.04519, allocations: 10.03 kB / 0.8221 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.04558, allocations: 245.8 kB / 0.8223 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.04659, allocations: 0.9488 MB / 0.8233 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.04664, allocations: 82 kB / 0.8233 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.04673, allocations: 104 kB / 0.8234 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.04749, allocations: 0.8613 MB / 0.8243 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.04751, allocations: 4 kB / 0.8243 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.04756, allocations: 36 kB / 0.8243 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.04759, allocations: 24 kB / 0.8243 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.04795, allocations: 294.8 kB / 0.8246 GB, free: 3.465 MB / 0.7761 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.002695/0.05064, allocations: 2.549 MB / 0.8271 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.05106, allocations: 337.9 kB / 0.8274 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.05119, allocations: 126.1 kB / 0.8276 GB, free: 416 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.05133, allocations: 61.5 kB / 0.8276 GB, free: 356 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.05135, allocations: 43.06 kB / 0.8277 GB, free: 304 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=61): time 1.883e-06/0.05135, allocations: 0 / 0.8277 GB, free: 304 kB / 0.7761 GB Notification: Performance of matching and sorting (n=61): time 0.001892/0.05324, allocations: 0.7952 MB / 0.8284 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.05327, allocations: 63.84 kB / 0.8285 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/0.05383, allocations: 0.8342 MB / 0.8293 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.05387, allocations: 39.05 kB / 0.8293 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.05407, allocations: 482.8 kB / 0.8298 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.05418, allocations: 226 kB / 0.83 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.05432, allocations: 143.3 kB / 0.8302 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.05439, allocations: 337.9 kB / 0.8305 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.0545, allocations: 83.66 kB / 0.8306 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.0548, allocations: 0.6899 MB / 0.8312 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.05536, allocations: 362.8 kB / 0.8316 GB, free: 12 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.05536, allocations: 3.938 kB / 0.8316 GB, free: 12 MB / 0.7917 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00109/0.05645, allocations: 0.6387 MB / 0.8322 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.05647, allocations: 11.98 kB / 0.8322 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.05647, allocations: 4 kB / 0.8322 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.05748, allocations: 348.5 kB / 0.8326 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.05776, allocations: 159.7 kB / 0.8327 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002951/0.05806, allocations: 0.603 MB / 0.8333 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.05835, allocations: 83.5 kB / 0.8334 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.05839, allocations: 27.98 kB / 0.8334 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002163/0.05861, allocations: 171.7 kB / 0.8336 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002911/0.0589, allocations: 0.696 MB / 0.8342 GB, free: 9.043 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002861/0.05918, allocations: 360 kB / 0.8346 GB, free: 8.629 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.05918, allocations: 0 / 0.8346 GB, free: 8.629 MB / 0.7917 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001088/0.06027, allocations: 0.6388 MB / 0.8352 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.06028, allocations: 4 kB / 0.8352 GB, free: 7.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.06028, allocations: 4 kB / 0.8352 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.06133, allocations: 356.5 kB / 0.8356 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.06161, allocations: 155.8 kB / 0.8357 GB, free: 7.465 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002795/0.06189, allocations: 0.603 MB / 0.8363 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.06218, allocations: 71.61 kB / 0.8364 GB, free: 6.766 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.06222, allocations: 27.98 kB / 0.8364 GB, free: 6.738 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.06235, allocations: 224 kB / 0.8366 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.06245, allocations: 99.92 kB / 0.8367 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.06366, allocations: 0.7008 MB / 0.8374 GB, free: 5.699 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.06366, allocations: 4 kB / 0.8374 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.06367, allocations: 0 / 0.8374 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009036/0.06457, allocations: 0.5435 MB / 0.8379 GB, free: 5.117 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.06671, allocations: 1.418 MB / 0.8393 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.06671, allocations: 4 kB / 0.8393 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.06694, allocations: 108.2 kB / 0.8394 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009508/0.06789, allocations: 360.7 kB / 0.8398 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.06792, allocations: 19.94 kB / 0.8398 GB, free: 3.141 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.06953, allocations: 1.77 MB / 0.8415 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.06954, allocations: 4 kB / 0.8415 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.07078, allocations: 0.8989 MB / 0.8424 GB, free: 316 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.07099, allocations: 155 kB / 0.8425 GB, free: 160 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.07105, allocations: 20 kB / 0.8426 GB, free: 140 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.07132, allocations: 35.91 kB / 0.8426 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.07139, allocations: 64.27 kB / 0.8426 GB, free: 40 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.07142, allocations: 27.98 kB / 0.8427 GB, free: 12 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003346/0.07176, allocations: 435.7 kB / 0.8431 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.07176, allocations: 0 / 0.8431 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001016/0.07277, allocations: 0.7015 MB / 0.8438 GB, free: 14.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003262/0.0731, allocations: 233.8 kB / 0.844 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006141/0.07372, allocations: 0.5362 MB / 0.8445 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.07373, allocations: 16.25 kB / 0.8445 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.07413, allocations: 349.8 kB / 0.8449 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.07555, allocations: 0.6031 MB / 0.8455 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.07769, allocations: 2.029 MB / 0.8474 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.07784, allocations: 244.6 kB / 0.8477 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004426/0.07828, allocations: 201.1 kB / 0.8479 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006915/0.07897, allocations: 455 kB / 0.8483 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.07897, allocations: 0 / 0.8483 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.02879/0.1078, allocations: 27.33 MB / 0.875 GB, free: 15.36 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4828528286889195]