Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007991/0.0007992, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.006601/0.006602, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 266.6 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9648/0.9648, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 16.84 kB / 0.5987 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 88.54 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.0649/0.2296, allocations: 73.47 MB / 0.7569 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3441/0.5738, allocations: 15.01 MB / 0.7715 GB, free: 29.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.5764, allocations: 60 kB / 0.7716 GB, free: 29.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.5786, allocations: 0.6727 MB / 0.7722 GB, free: 29.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007034/0.5856, allocations: 2.379 MB / 0.7746 GB, free: 29.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.5892, allocations: 1.275 MB / 0.7758 GB, free: 29.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00916/0.5984, allocations: 5.567 MB / 0.7813 GB, free: 29.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.6007, allocations: 1.151 MB / 0.7824 GB, free: 29.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.604, allocations: 1.337 MB / 0.7837 GB, free: 29.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.606, allocations: 1.152 MB / 0.7848 GB, free: 28.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.6062, allocations: 54.09 kB / 0.7849 GB, free: 28.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.6096, allocations: 1.255 MB / 0.7861 GB, free: 28.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.6101, allocations: 291.6 kB / 0.7864 GB, free: 28.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.6113, allocations: 0.7973 MB / 0.7871 GB, free: 28.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.6154, allocations: 2.738 MB / 0.7898 GB, free: 28.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6154, allocations: 0 / 0.7898 GB, free: 28.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6154, allocations: 0 / 0.7898 GB, free: 28.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.06e-05/0.6154, allocations: 0 / 0.7898 GB, free: 28.09 MB / 0.545 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.003454/0.6189, allocations: 1.788 MB / 0.7916 GB, free: 27.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6189, allocations: 9.625 kB / 0.7916 GB, free: 27.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008219/0.6198, allocations: 241.4 kB / 0.7918 GB, free: 26.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.6224, allocations: 1.488 MB / 0.7933 GB, free: 26.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.661e-05/0.6225, allocations: 78.97 kB / 0.7933 GB, free: 26.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.6227, allocations: 108.8 kB / 0.7934 GB, free: 26.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.6249, allocations: 1.118 MB / 0.7945 GB, free: 26.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.6249, allocations: 3.938 kB / 0.7945 GB, free: 26.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.625, allocations: 44.88 kB / 0.7946 GB, free: 26.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.6251, allocations: 26.22 kB / 0.7946 GB, free: 26.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.6271, allocations: 0.9344 MB / 0.7955 GB, free: 26.09 MB / 0.545 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.006187/0.6333, allocations: 4.927 MB / 0.8003 GB, free: 22.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.6347, allocations: 0.6447 MB / 0.801 GB, free: 21.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008063/0.6356, allocations: 371.9 kB / 0.8013 GB, free: 21.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005417/0.6361, allocations: 0.8309 MB / 0.8021 GB, free: 20.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.6362, allocations: 38.41 kB / 0.8022 GB, free: 20.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.334e-06/0.6362, allocations: 4 kB / 0.8022 GB, free: 20.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.005044/0.6412, allocations: 1.526 MB / 0.8036 GB, free: 20.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.6413, allocations: 58.66 kB / 0.8037 GB, free: 19.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.6429, allocations: 1.213 MB / 0.8049 GB, free: 19.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.643, allocations: 40.48 kB / 0.8049 GB, free: 19.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.6434, allocations: 0.6019 MB / 0.8055 GB, free: 18.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.6436, allocations: 223.6 kB / 0.8057 GB, free: 18.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.6437, allocations: 62.31 kB / 0.8058 GB, free: 18.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.6437, allocations: 332.8 kB / 0.8061 GB, free: 18.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/0.6444, allocations: 302.7 kB / 0.8064 GB, free: 18.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007807/0.6452, allocations: 0.5082 MB / 0.8069 GB, free: 17.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.6466, allocations: 0.746 MB / 0.8076 GB, free: 17.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.6466, allocations: 5.438 kB / 0.8076 GB, free: 17.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00464/0.6512, allocations: 1.404 MB / 0.809 GB, free: 16.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.222e-05/0.6513, allocations: 193 kB / 0.8092 GB, free: 16.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.6513, allocations: 5.438 kB / 0.8092 GB, free: 16.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.652, allocations: 166.9 kB / 0.8093 GB, free: 16.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.6526, allocations: 159.3 kB / 0.8095 GB, free: 16.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007228/0.6533, allocations: 0.7345 MB / 0.8102 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6546, allocations: 166.8 kB / 0.8104 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.6547, allocations: 38.86 kB / 0.8104 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/0.6547, allocations: 2.25 kB / 0.8104 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004391/0.6591, allocations: 1.247 MB / 0.8116 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6591, allocations: 4.109 kB / 0.8116 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.6597, allocations: 164.6 kB / 0.8118 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.6603, allocations: 167.9 kB / 0.8119 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007183/0.661, allocations: 0.7243 MB / 0.8127 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.6624, allocations: 160.5 kB / 0.8128 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.6625, allocations: 35.67 kB / 0.8128 GB, free: 14.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007741/0.6633, allocations: 424.9 kB / 0.8132 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.6635, allocations: 129.5 kB / 0.8134 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/0.668, allocations: 1.397 MB / 0.8147 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.6681, allocations: 6.531 kB / 0.8147 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6681, allocations: 7.328 kB / 0.8148 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004138/0.6722, allocations: 1.214 MB / 0.8159 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.6764, allocations: 2.36 MB / 0.8182 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/0.6764, allocations: 7.094 kB / 0.8182 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.6769, allocations: 119.3 kB / 0.8184 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005573/0.6774, allocations: 154.3 kB / 0.8185 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.6775, allocations: 26.55 kB / 0.8185 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006838/0.6782, allocations: 0.7131 MB / 0.8192 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6782, allocations: 9.375 kB / 0.8192 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.6808, allocations: 1.46 MB / 0.8207 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/0.6814, allocations: 330.1 kB / 0.821 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.6816, allocations: 23.22 kB / 0.821 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008882/0.6825, allocations: 101.4 kB / 0.8211 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6826, allocations: 55.38 kB / 0.8212 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.6826, allocations: 28.08 kB / 0.8212 GB, free: 8.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001134/0.6838, allocations: 0.8772 MB / 0.822 GB, free: 8.215 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6838, allocations: 0 / 0.822 GB, free: 8.215 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00179/0.6856, allocations: 0.7038 MB / 0.8227 GB, free: 8.07 MB / 0.545 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008296/0.6864, allocations: 452.5 kB / 0.8232 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.6889, allocations: 1.172 MB / 0.8243 GB, free: 7.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6889, allocations: 0 / 0.8243 GB, free: 7.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008792/0.6898, allocations: 420 kB / 0.8247 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/0.6942, allocations: 0.7881 MB / 0.8255 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.6978, allocations: 2.832 MB / 0.8282 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.6984, allocations: 1.173 MB / 0.8294 GB, free: 2.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001319/0.6997, allocations: 313.3 kB / 0.8297 GB, free: 2.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.7, allocations: 107.4 kB / 0.8298 GB, free: 2.066 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.7, allocations: 0 / 0.8298 GB, free: 2.066 MB / 0.545 GB Notification: Performance of Templates: time 0.0522/0.7522, allocations: 31.79 MB / 0.8608 GB, free: 2.801 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)