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.001022/0.001022, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001097/0.001096, allocations: 196.2 kB / 16.25 MB, free: 6.621 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.462/1.462, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.507/1.507, allocations: 251.7 MB / 0.5089 GB, free: 3.355 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.001317/0.001317, allocations: 71.89 kB / 0.6217 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5017, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06937/0.5711, allocations: 74.56 MB / 0.7968 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.5926, allocations: 14.9 MB / 0.8113 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005199/0.5979, allocations: 55.62 kB / 0.8114 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003348/0.6014, allocations: 0.715 MB / 0.8121 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008954/0.6104, allocations: 2.398 MB / 0.8144 GB, free: 192 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.6146, allocations: 1.253 MB / 0.8157 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006477/0.6211, allocations: 4.387 MB / 0.8199 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.6238, allocations: 1.425 MB / 0.8213 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.6285, allocations: 1.643 MB / 0.8229 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.6315, allocations: 1.245 MB / 0.8242 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006956/0.6322, allocations: 164 kB / 0.8243 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.6358, allocations: 1.415 MB / 0.8257 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.6365, allocations: 402.6 kB / 0.8261 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.6383, allocations: 0.9021 MB / 0.827 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.6434, allocations: 2.832 MB / 0.8297 GB, free: 484 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.6434, allocations: 4 kB / 0.8297 GB, free: 480 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6435, allocations: 4 kB / 0.8297 GB, free: 476 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.032e-05/0.6435, allocations: 0 / 0.8297 GB, free: 476 kB / 0.6387 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.004905/0.6485, allocations: 2.079 MB / 0.8318 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.6485, allocations: 12.03 kB / 0.8318 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.6494, allocations: 234.8 kB / 0.832 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.6519, allocations: 1.482 MB / 0.8334 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.652, allocations: 74 kB / 0.8335 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.6521, allocations: 104 kB / 0.8336 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.6541, allocations: 1.089 MB / 0.8347 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.6542, allocations: 0 / 0.8347 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.6543, allocations: 40 kB / 0.8347 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.6543, allocations: 31.88 kB / 0.8347 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.6562, allocations: 0.8978 MB / 0.8356 GB, free: 10.27 MB / 0.6544 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.006713/0.6629, allocations: 4.903 MB / 0.8404 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.6643, allocations: 0.6272 MB / 0.841 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006551/0.665, allocations: 347.1 kB / 0.8414 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/0.6656, allocations: 0.8277 MB / 0.8422 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.6657, allocations: 47.09 kB / 0.8422 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 3.487e-06/0.6657, allocations: 0 / 0.8422 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007018/0.6727, allocations: 1.689 MB / 0.8439 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.6728, allocations: 55.97 kB / 0.8439 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.6745, allocations: 1.214 MB / 0.8451 GB, free: 24 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.6746, allocations: 37.7 kB / 0.8451 GB, free: 15.98 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/0.6752, allocations: 0.6142 MB / 0.8457 GB, free: 15.36 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.6754, allocations: 205 kB / 0.8459 GB, free: 15.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.6756, allocations: 158.5 kB / 0.8461 GB, free: 15 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6758, allocations: 337.9 kB / 0.8464 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.6765, allocations: 288.7 kB / 0.8467 GB, free: 14.38 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.6773, allocations: 0.4967 MB / 0.8472 GB, free: 13.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.6786, allocations: 0.7207 MB / 0.8479 GB, free: 13.03 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6786, allocations: 0 / 0.8479 GB, free: 13.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004673/0.6833, allocations: 1.269 MB / 0.8491 GB, free: 11.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.6834, allocations: 8.375 kB / 0.8491 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6834, allocations: 8 kB / 0.8491 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.684, allocations: 132.7 kB / 0.8492 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.6846, allocations: 155.8 kB / 0.8494 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007936/0.6854, allocations: 0.7083 MB / 0.8501 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.6867, allocations: 170.3 kB / 0.8502 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/0.6868, allocations: 31.98 kB / 0.8503 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001178/0.688, allocations: 0.5448 MB / 0.8508 GB, free: 9.973 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007762/0.6888, allocations: 0.4929 MB / 0.8513 GB, free: 9.402 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0013/0.6901, allocations: 0.7127 MB / 0.852 GB, free: 8.637 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.6901, allocations: 0 / 0.852 GB, free: 8.637 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00439/0.6945, allocations: 1.265 MB / 0.8532 GB, free: 7.359 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6946, allocations: 12.06 kB / 0.8532 GB, free: 7.348 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.6946, allocations: 4 kB / 0.8532 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004942/0.6951, allocations: 136.7 kB / 0.8534 GB, free: 7.207 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.6957, allocations: 163.7 kB / 0.8535 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007883/0.6965, allocations: 0.6967 MB / 0.8542 GB, free: 6.324 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.6978, allocations: 143.5 kB / 0.8543 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.6979, allocations: 31.98 kB / 0.8544 GB, free: 6.152 MB / 0.67 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.0002986/0.6982, allocations: 224.1 kB / 0.8546 GB, free: 5.926 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.6985, allocations: 134.3 kB / 0.8547 GB, free: 5.793 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004432/0.7029, allocations: 1.275 MB / 0.856 GB, free: 4.504 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.7029, allocations: 8 kB / 0.856 GB, free: 4.496 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.703, allocations: 0 / 0.856 GB, free: 4.496 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003879/0.7068, allocations: 1.103 MB / 0.857 GB, free: 3.355 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006433/0.7133, allocations: 2.606 MB / 0.8596 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.7133, allocations: 4 kB / 0.8596 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.7138, allocations: 107.9 kB / 0.8597 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.7143, allocations: 128.9 kB / 0.8598 GB, free: 408 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.7144, allocations: 19.98 kB / 0.8598 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.7194, allocations: 2.633 MB / 0.8624 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7194, allocations: 4 kB / 0.8624 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00546/0.7249, allocations: 1.703 MB / 0.8641 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007783/0.7257, allocations: 303.2 kB / 0.8644 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.7259, allocations: 16 kB / 0.8644 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.7268, allocations: 83.81 kB / 0.8645 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.7269, allocations: 64.23 kB / 0.8645 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.727, allocations: 31.97 kB / 0.8646 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001256/0.7283, allocations: 0.866 MB / 0.8654 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7283, allocations: 4 kB / 0.8654 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001967/0.7303, allocations: 0.7057 MB / 0.8661 GB, free: 9.73 MB / 0.6856 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.0009739/0.7312, allocations: 447.1 kB / 0.8665 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.7339, allocations: 1.156 MB / 0.8676 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.734, allocations: 0 / 0.8676 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.7354, allocations: 0.5609 MB / 0.8682 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/0.739, allocations: 0.8066 MB / 0.869 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.7431, allocations: 2.763 MB / 0.8717 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/0.7439, allocations: 1.176 MB / 0.8728 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001291/0.7452, allocations: 307 kB / 0.8731 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.7455, allocations: 107.4 kB / 0.8732 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/0.7455, allocations: 0 / 0.8732 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of Templates: time 0.0506/0.7961, allocations: 31.74 MB / 0.9042 GB, free: 3.004 MB / 0.7169 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)