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.0009589/0.0009589, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001023/0.001023, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 259.1 kB / 291.3 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004006, allocations: 11.59 kB / 0.598 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 88.54 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06365/0.1947, allocations: 69.44 MB / 0.7523 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2849/0.4797, allocations: 14.17 MB / 0.7661 GB, free: 31.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.4814, allocations: 60.19 kB / 0.7662 GB, free: 31.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.4829, allocations: 0.5619 MB / 0.7667 GB, free: 31.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004604/0.4875, allocations: 1.991 MB / 0.7687 GB, free: 31.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.4899, allocations: 0.9687 MB / 0.7696 GB, free: 31.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005289/0.4952, allocations: 4.796 MB / 0.7743 GB, free: 31.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.4968, allocations: 1.026 MB / 0.7753 GB, free: 30.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.499, allocations: 1.278 MB / 0.7765 GB, free: 30.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.5004, allocations: 1.092 MB / 0.7776 GB, free: 30.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.5005, allocations: 56.25 kB / 0.7777 GB, free: 30.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.5029, allocations: 0.9322 MB / 0.7786 GB, free: 30.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.5032, allocations: 272.3 kB / 0.7788 GB, free: 30.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.5036, allocations: 360.1 kB / 0.7792 GB, free: 30.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.5056, allocations: 2.098 MB / 0.7812 GB, free: 30.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5056, allocations: 4.031 kB / 0.7812 GB, free: 30.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5056, allocations: 0 / 0.7812 GB, free: 30.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.5056, allocations: 0 / 0.7812 GB, free: 30.01 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.002776/0.5084, allocations: 1.799 MB / 0.783 GB, free: 28.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5084, allocations: 7.781 kB / 0.783 GB, free: 28.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006784/0.5091, allocations: 250.9 kB / 0.7832 GB, free: 28.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.5111, allocations: 1.437 MB / 0.7846 GB, free: 28.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.5111, allocations: 81.19 kB / 0.7847 GB, free: 28.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5113, allocations: 102.3 kB / 0.7848 GB, free: 28.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.5131, allocations: 1.114 MB / 0.7859 GB, free: 28.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.5131, allocations: 9.406 kB / 0.7859 GB, free: 28.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.5132, allocations: 37.91 kB / 0.7859 GB, free: 28.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.5132, allocations: 33.75 kB / 0.786 GB, free: 28.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.515, allocations: 0.9269 MB / 0.7869 GB, free: 28.34 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.004784/0.5198, allocations: 4.92 MB / 0.7917 GB, free: 26.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.5212, allocations: 0.6344 MB / 0.7923 GB, free: 26.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/0.5219, allocations: 366.7 kB / 0.7927 GB, free: 26.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.5223, allocations: 0.8276 MB / 0.7935 GB, free: 25.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5224, allocations: 40.66 kB / 0.7935 GB, free: 25.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.224e-06/0.5224, allocations: 0 / 0.7935 GB, free: 25.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.004348/0.5267, allocations: 1.521 MB / 0.795 GB, free: 24.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.5267, allocations: 62.31 kB / 0.7951 GB, free: 24.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.5282, allocations: 1.201 MB / 0.7962 GB, free: 24.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.5282, allocations: 40.33 kB / 0.7963 GB, free: 24.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.5287, allocations: 0.6036 MB / 0.7969 GB, free: 24.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.5288, allocations: 217.1 kB / 0.7971 GB, free: 24.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.5289, allocations: 15.31 kB / 0.7971 GB, free: 24.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.5289, allocations: 333.2 kB / 0.7974 GB, free: 23.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/0.5295, allocations: 295.4 kB / 0.7977 GB, free: 23.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/0.5303, allocations: 0.5033 MB / 0.7982 GB, free: 23.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/0.531, allocations: 363.3 kB / 0.7985 GB, free: 23.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.531, allocations: 4.359 kB / 0.7985 GB, free: 23.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00408/0.535, allocations: 1.387 MB / 0.7999 GB, free: 23.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.5351, allocations: 194 kB / 0.8001 GB, free: 23.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5351, allocations: 7.359 kB / 0.8001 GB, free: 23.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/0.5358, allocations: 162.9 kB / 0.8002 GB, free: 22.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.5363, allocations: 159.9 kB / 0.8004 GB, free: 22.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006615/0.537, allocations: 0.7377 MB / 0.8011 GB, free: 22.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009853/0.538, allocations: 165.2 kB / 0.8012 GB, free: 22.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.5381, allocations: 34.36 kB / 0.8013 GB, free: 22.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.5381, allocations: 10.86 kB / 0.8013 GB, free: 22.27 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003789/0.5419, allocations: 1.238 MB / 0.8025 GB, free: 21.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5419, allocations: 2.75 kB / 0.8025 GB, free: 21.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.5424, allocations: 167.2 kB / 0.8027 GB, free: 21.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.543, allocations: 163.9 kB / 0.8028 GB, free: 21.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006231/0.5436, allocations: 0.7296 MB / 0.8035 GB, free: 21.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009073/0.5445, allocations: 152.7 kB / 0.8037 GB, free: 21.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.5446, allocations: 30.42 kB / 0.8037 GB, free: 21.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005307/0.5451, allocations: 429 kB / 0.8041 GB, free: 21.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.5453, allocations: 133.6 kB / 0.8042 GB, free: 20.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.5492, allocations: 1.403 MB / 0.8056 GB, free: 20.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.5493, allocations: 8.531 kB / 0.8056 GB, free: 20.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5493, allocations: 2.844 kB / 0.8056 GB, free: 20.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003389/0.5527, allocations: 1.219 MB / 0.8068 GB, free: 20.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.5559, allocations: 2.349 MB / 0.8091 GB, free: 19.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5559, allocations: 4.688 kB / 0.8091 GB, free: 19.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.5563, allocations: 120.9 kB / 0.8092 GB, free: 19.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.5568, allocations: 149.5 kB / 0.8094 GB, free: 19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.5569, allocations: 31.03 kB / 0.8094 GB, free: 18.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005789/0.5574, allocations: 0.7211 MB / 0.8101 GB, free: 18.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5575, allocations: 7.312 kB / 0.8101 GB, free: 18.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.5596, allocations: 1.449 MB / 0.8115 GB, free: 17.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.56, allocations: 331.1 kB / 0.8118 GB, free: 17.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.5602, allocations: 19.7 kB / 0.8119 GB, free: 17.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008003/0.561, allocations: 99.41 kB / 0.812 GB, free: 17.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.5611, allocations: 51.3 kB / 0.812 GB, free: 17.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.5612, allocations: 32.55 kB / 0.812 GB, free: 17.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009787/0.5622, allocations: 0.8585 MB / 0.8129 GB, free: 17.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5622, allocations: 0 / 0.8129 GB, free: 17.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001603/0.5638, allocations: 0.7011 MB / 0.8136 GB, free: 17.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007704/0.5646, allocations: 430.5 kB / 0.814 GB, free: 17.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.5668, allocations: 1.163 MB / 0.8151 GB, free: 16.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5668, allocations: 3.031 kB / 0.8151 GB, free: 16.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.5676, allocations: 417.4 kB / 0.8155 GB, free: 16.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/0.5706, allocations: 0.76 MB / 0.8162 GB, free: 16.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.5739, allocations: 2.78 MB / 0.819 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.5744, allocations: 1.177 MB / 0.8201 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001142/0.5756, allocations: 307.2 kB / 0.8204 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.5758, allocations: 106.5 kB / 0.8205 GB, free: 13.82 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.5758, allocations: 0 / 0.8205 GB, free: 13.82 MB / 0.545 GB Notification: Performance of Templates: time 0.04056/0.6164, allocations: 29.26 MB / 0.8491 GB, free: 2.328 MB / 0.5606 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)