Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.008622/0.008622, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.001657/0.001657, allocations: 196.9 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.72/0.72, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.88 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1544, allocations: 77.92 MB / 0.5665 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3241/0.4785, allocations: 74.7 MB / 0.6394 GB, free: 8.742 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02009/0.4986, allocations: 15.23 MB / 0.6543 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/0.503, allocations: 63.78 kB / 0.6544 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.5058, allocations: 0.6765 MB / 0.655 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007825/0.5137, allocations: 2.382 MB / 0.6574 GB, free: 9.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.5175, allocations: 1.268 MB / 0.6586 GB, free: 8.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006717/0.5242, allocations: 5.556 MB / 0.664 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.5264, allocations: 1.198 MB / 0.6652 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.5293, allocations: 1.361 MB / 0.6665 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.5311, allocations: 1.202 MB / 0.6677 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.5313, allocations: 72 kB / 0.6678 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.5345, allocations: 1.255 MB / 0.669 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.5349, allocations: 314.6 kB / 0.6693 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.536, allocations: 0.8161 MB / 0.6701 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.5401, allocations: 2.777 MB / 0.6728 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5401, allocations: 0 / 0.6728 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5401, allocations: 0 / 0.6728 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.082e-05/0.5401, allocations: 0 / 0.6728 GB, free: 11.41 MB / 0.4981 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.003711/0.5438, allocations: 2.079 MB / 0.6748 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5439, allocations: 8.031 kB / 0.6748 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007786/0.5447, allocations: 226.8 kB / 0.6751 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.547, allocations: 1.497 MB / 0.6765 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/0.5471, allocations: 78 kB / 0.6766 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.5472, allocations: 103.9 kB / 0.6767 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.5492, allocations: 1.1 MB / 0.6778 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.5493, allocations: 3.938 kB / 0.6778 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/0.5494, allocations: 36 kB / 0.6778 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.5494, allocations: 43.92 kB / 0.6778 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.5513, allocations: 0.886 MB / 0.6787 GB, free: 5.195 MB / 0.4981 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.005599/0.5569, allocations: 4.908 MB / 0.6835 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.5583, allocations: 0.612 MB / 0.6841 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/0.559, allocations: 350.8 kB / 0.6844 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/0.5596, allocations: 0.8277 MB / 0.6852 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.5597, allocations: 43.12 kB / 0.6853 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.314e-06/0.5597, allocations: 0 / 0.6853 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.01019/0.5699, allocations: 1.693 MB / 0.6869 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.57, allocations: 63.97 kB / 0.687 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.5725, allocations: 1.214 MB / 0.6882 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.5726, allocations: 37.7 kB / 0.6882 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007616/0.5734, allocations: 0.6027 MB / 0.6888 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.5738, allocations: 220.8 kB / 0.689 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.5742, allocations: 154.6 kB / 0.6892 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5743, allocations: 330 kB / 0.6895 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.5754, allocations: 284.7 kB / 0.6898 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.5768, allocations: 0.4929 MB / 0.6902 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.5791, allocations: 0.709 MB / 0.6909 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.5792, allocations: 3.938 kB / 0.6909 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006172/0.5853, allocations: 1.277 MB / 0.6922 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.5854, allocations: 9.875 kB / 0.6922 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5854, allocations: 4 kB / 0.6922 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.586, allocations: 136.8 kB / 0.6923 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.5866, allocations: 163.8 kB / 0.6925 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008403/0.5875, allocations: 0.7044 MB / 0.6932 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.5887, allocations: 159 kB / 0.6933 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.5888, allocations: 35.98 kB / 0.6934 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/0.5899, allocations: 0.5488 MB / 0.6939 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008326/0.5907, allocations: 496.7 kB / 0.6944 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00136/0.5921, allocations: 0.705 MB / 0.695 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.399e-06/0.5921, allocations: 4 kB / 0.6951 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005998/0.5981, allocations: 1.261 MB / 0.6963 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.5981, allocations: 8 kB / 0.6963 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.5981, allocations: 4 kB / 0.6963 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/0.5988, allocations: 132.8 kB / 0.6964 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.5998, allocations: 163.8 kB / 0.6966 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.601, allocations: 0.7083 MB / 0.6973 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.6026, allocations: 139.5 kB / 0.6974 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.6027, allocations: 35.98 kB / 0.6974 GB, free: 1.098 MB / 0.5137 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.0003273/0.603, allocations: 227.5 kB / 0.6977 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.6034, allocations: 130.4 kB / 0.6978 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005994/0.6094, allocations: 1.271 MB / 0.699 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.6094, allocations: 11.98 kB / 0.699 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.6094, allocations: 0 / 0.699 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005455/0.6149, allocations: 1.099 MB / 0.7001 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00908/0.624, allocations: 2.606 MB / 0.7027 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.624, allocations: 8.062 kB / 0.7027 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.6247, allocations: 111.8 kB / 0.7028 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006601/0.6254, allocations: 140.7 kB / 0.7029 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.6255, allocations: 16 kB / 0.7029 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006493/0.632, allocations: 2.38 MB / 0.7052 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.632, allocations: 4 kB / 0.7052 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007369/0.6394, allocations: 1.703 MB / 0.7069 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009191/0.6403, allocations: 307.2 kB / 0.7072 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/0.6407, allocations: 16 kB / 0.7072 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.6422, allocations: 83.81 kB / 0.7073 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.6424, allocations: 60.23 kB / 0.7074 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.6425, allocations: 35.98 kB / 0.7074 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002179/0.6447, allocations: 0.874 MB / 0.7082 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6447, allocations: 0 / 0.7082 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003182/0.6479, allocations: 0.7057 MB / 0.7089 GB, free: 4.926 MB / 0.5294 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.001473/0.6494, allocations: 449.1 kB / 0.7094 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00376/0.6531, allocations: 1.11 MB / 0.7104 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6532, allocations: 3.938 kB / 0.7104 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.6552, allocations: 0.5644 MB / 0.711 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/0.6593, allocations: 0.7553 MB / 0.7117 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.6636, allocations: 2.76 MB / 0.7144 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007773/0.6644, allocations: 1.187 MB / 0.7156 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001362/0.6658, allocations: 299 kB / 0.7159 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.6661, allocations: 107.4 kB / 0.716 GB, free: 13.6 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.6661, allocations: 0 / 0.716 GB, free: 13.6 MB / 0.545 GB Notification: Performance of Templates: time 0.05026/0.7164, allocations: 30.45 MB / 0.7457 GB, free: 15.49 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)