Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00655/0.00655, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001202/0.001202, allocations: 204.8 kB / 16.68 MB, free: 5.973 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.589/1.589, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.561/1.561, allocations: 251.7 MB / 0.5094 GB, free: 2.98 MB / 414.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.001456/0.001456, allocations: 78.23 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2641, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07844/0.3426, allocations: 75.19 MB / 0.9015 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6346/0.9773, allocations: 15 MB / 0.9161 GB, free: 27.85 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003137/0.9805, allocations: 63.56 kB / 0.9162 GB, free: 27.85 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.9832, allocations: 0.8273 MB / 0.917 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008548/0.9918, allocations: 2.57 MB / 0.9195 GB, free: 27.74 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00458/0.9964, allocations: 1.364 MB / 0.9208 GB, free: 27.71 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00914/1.006, allocations: 4.355 MB / 0.9251 GB, free: 27.7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004454/1.01, allocations: 1.439 MB / 0.9265 GB, free: 27.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007258/1.017, allocations: 1.644 MB / 0.9281 GB, free: 27.19 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/1.021, allocations: 1.22 MB / 0.9293 GB, free: 26.92 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005261/1.022, allocations: 165.3 kB / 0.9294 GB, free: 26.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005205/1.027, allocations: 1.404 MB / 0.9308 GB, free: 26.81 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006411/1.028, allocations: 395.5 kB / 0.9312 GB, free: 26.74 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002195/1.03, allocations: 0.8992 MB / 0.9321 GB, free: 26.38 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007195/1.037, allocations: 2.868 MB / 0.9349 GB, free: 25.4 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.037, allocations: 3.938 kB / 0.9349 GB, free: 25.4 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/1.037, allocations: 1.125 kB / 0.9349 GB, free: 25.4 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.77e-05/1.037, allocations: 0 / 0.9349 GB, free: 25.4 MB / 0.7169 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.00606/1.043, allocations: 2.138 MB / 0.937 GB, free: 24.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/1.044, allocations: 13.19 kB / 0.937 GB, free: 24.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/1.045, allocations: 231.8 kB / 0.9372 GB, free: 23.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/1.048, allocations: 1.524 MB / 0.9387 GB, free: 23.04 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/1.048, allocations: 76.47 kB / 0.9388 GB, free: 23.01 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/1.048, allocations: 101.2 kB / 0.9389 GB, free: 22.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/1.05, allocations: 1.096 MB / 0.9399 GB, free: 22.49 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/1.05, allocations: 1.281 kB / 0.9399 GB, free: 22.49 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/1.05, allocations: 42.72 kB / 0.94 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/1.05, allocations: 25.31 kB / 0.94 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/1.052, allocations: 0.8914 MB / 0.9409 GB, free: 22.15 MB / 0.7169 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.006411/1.059, allocations: 4.9 MB / 0.9457 GB, free: 18.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.06, allocations: 0.6135 MB / 0.9462 GB, free: 18.54 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/1.061, allocations: 342.5 kB / 0.9466 GB, free: 18.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/1.061, allocations: 0.8361 MB / 0.9474 GB, free: 17.47 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/1.061, allocations: 42.39 kB / 0.9474 GB, free: 17.42 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.486e-06/1.061, allocations: 3.938 kB / 0.9474 GB, free: 17.42 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.00725/1.069, allocations: 1.697 MB / 0.9491 GB, free: 16.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.069, allocations: 58.47 kB / 0.9492 GB, free: 16.85 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/1.071, allocations: 1.228 MB / 0.9503 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/1.071, allocations: 43.33 kB / 0.9504 GB, free: 16.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/1.072, allocations: 0.6103 MB / 0.951 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/1.072, allocations: 228.5 kB / 0.9512 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/1.072, allocations: 152.2 kB / 0.9513 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/1.072, allocations: 334.4 kB / 0.9517 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006665/1.073, allocations: 291 kB / 0.9519 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/1.074, allocations: 0.4896 MB / 0.9524 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/1.075, allocations: 0.7117 MB / 0.9531 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/1.075, allocations: 1.156 kB / 0.9531 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004933/1.08, allocations: 1.29 MB / 0.9544 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.08, allocations: 6.094 kB / 0.9544 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.08, allocations: 4.781 kB / 0.9544 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/1.081, allocations: 133 kB / 0.9545 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/1.082, allocations: 164.4 kB / 0.9547 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007591/1.082, allocations: 0.7045 MB / 0.9554 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.084, allocations: 125.8 kB / 0.9555 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/1.084, allocations: 31.53 kB / 0.9555 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001234/1.085, allocations: 0.5534 MB / 0.9561 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008145/1.086, allocations: 498.6 kB / 0.9565 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00148/1.087, allocations: 0.7102 MB / 0.9572 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.115e-06/1.087, allocations: 0.9375 kB / 0.9572 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004868/1.092, allocations: 1.273 MB / 0.9585 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.092, allocations: 6.375 kB / 0.9585 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.092, allocations: 3.156 kB / 0.9585 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/1.093, allocations: 139.6 kB / 0.9586 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/1.094, allocations: 161.5 kB / 0.9588 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007294/1.094, allocations: 0.7059 MB / 0.9595 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.096, allocations: 112.7 kB / 0.9596 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/1.096, allocations: 36.77 kB / 0.9596 GB, free: 10.92 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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.0003645/1.097, allocations: 224.2 kB / 0.9598 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007089/1.097, allocations: 144.6 kB / 0.9599 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/1.102, allocations: 1.258 MB / 0.9612 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/1.102, allocations: 13.48 kB / 0.9612 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.102, allocations: 2.469 kB / 0.9612 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003823/1.106, allocations: 1.1 MB / 0.9623 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007976/1.114, allocations: 2.611 MB / 0.9648 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.114, allocations: 2.438 kB / 0.9648 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/1.114, allocations: 115 kB / 0.9649 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/1.115, allocations: 129.2 kB / 0.965 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/1.115, allocations: 17.75 kB / 0.9651 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00464/1.12, allocations: 2.629 MB / 0.9676 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.12, allocations: 6.469 kB / 0.9676 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/1.125, allocations: 1.708 MB / 0.9693 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009144/1.126, allocations: 312.3 kB / 0.9696 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005401/1.126, allocations: 17.53 kB / 0.9696 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.128, allocations: 62.72 kB / 0.9697 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.128, allocations: 53.94 kB / 0.9697 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/1.128, allocations: 27.27 kB / 0.9698 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001659/1.13, allocations: 0.8804 MB / 0.9706 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.12e-07/1.13, allocations: 4 kB / 0.9706 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003437/1.133, allocations: 0.7295 MB / 0.9713 GB, free: 3.156 MB / 0.7169 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.001381/1.135, allocations: 460.8 kB / 0.9718 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003189/1.138, allocations: 1.12 MB / 0.9729 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.138, allocations: 0 / 0.9729 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.139, allocations: 0.5702 MB / 0.9734 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/1.144, allocations: 0.8049 MB / 0.9742 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/1.148, allocations: 2.319 MB / 0.9765 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/1.15, allocations: 1.168 MB / 0.9776 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00171/1.152, allocations: 303 kB / 0.9779 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/1.152, allocations: 111.4 kB / 0.978 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of SimCode: time 4.107e-06/1.152, allocations: 0 / 0.978 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.06239/1.214, allocations: 32.55 MB / 1.01 GB, free: 14.2 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)