Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008223/0.0008224, allocations: 86.72 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.001026/0.001026, 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 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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.0005311/0.0005314, allocations: 19.25 kB / 0.6737 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06298/0.2666, allocations: 69.48 MB / 0.8551 GB, free: 6.289 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.285, allocations: 14.08 MB / 0.8689 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.2876, allocations: 55.62 kB / 0.8689 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.2895, allocations: 0.5589 MB / 0.8695 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005833/0.2954, allocations: 1.978 MB / 0.8714 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.2984, allocations: 0.9774 MB / 0.8724 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005827/0.3043, allocations: 4.769 MB / 0.877 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.306, allocations: 1.017 MB / 0.878 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.3087, allocations: 1.291 MB / 0.8793 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.3109, allocations: 1.085 MB / 0.8803 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.3111, allocations: 56 kB / 0.8804 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.3138, allocations: 0.9393 MB / 0.8813 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.3141, allocations: 274.7 kB / 0.8816 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004886/0.3146, allocations: 356.9 kB / 0.8819 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.317, allocations: 2.092 MB / 0.8839 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.317, allocations: 4 kB / 0.8839 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.813e-06/0.317, allocations: 0 / 0.8839 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.317, allocations: 0 / 0.8839 GB, free: 8.672 MB / 0.7012 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.003194/0.3202, allocations: 1.814 MB / 0.8857 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3203, allocations: 8.031 kB / 0.8857 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007128/0.321, allocations: 245.8 kB / 0.886 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.3234, allocations: 1.435 MB / 0.8874 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/0.3234, allocations: 78 kB / 0.8874 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.3236, allocations: 100 kB / 0.8875 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.3255, allocations: 1.112 MB / 0.8886 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.3256, allocations: 0 / 0.8886 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-05/0.3257, allocations: 51.92 kB / 0.8887 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.3257, allocations: 24 kB / 0.8887 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.3275, allocations: 0.9212 MB / 0.8896 GB, free: 2.738 MB / 0.7012 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.005742/0.3333, allocations: 4.935 MB / 0.8944 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.3346, allocations: 0.6389 MB / 0.895 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.3352, allocations: 366.3 kB / 0.8954 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006418/0.3359, allocations: 0.8238 MB / 0.8962 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3359, allocations: 47.12 kB / 0.8962 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.294e-06/0.336, allocations: 0 / 0.8962 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.004507/0.3405, allocations: 1.518 MB / 0.8977 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3405, allocations: 55.97 kB / 0.8978 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.3422, allocations: 1.202 MB / 0.8989 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.3423, allocations: 45.64 kB / 0.899 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.3428, allocations: 0.6026 MB / 0.8996 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.3431, allocations: 220.9 kB / 0.8998 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.3431, allocations: 8 kB / 0.8998 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3433, allocations: 334 kB / 0.9001 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006522/0.344, allocations: 297.8 kB / 0.9004 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007846/0.3448, allocations: 0.5119 MB / 0.9009 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/0.3455, allocations: 359 kB / 0.9012 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3455, allocations: 0 / 0.9012 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004152/0.3496, allocations: 1.394 MB / 0.9026 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.3498, allocations: 189.1 kB / 0.9028 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3498, allocations: 0 / 0.9028 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.3504, allocations: 168.6 kB / 0.9029 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.351, allocations: 167.8 kB / 0.9031 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000819/0.3519, allocations: 0.7241 MB / 0.9038 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.353, allocations: 179 kB / 0.904 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/0.3531, allocations: 31.98 kB / 0.904 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3531, allocations: 6.812 kB / 0.904 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003852/0.357, allocations: 1.238 MB / 0.9052 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.357, allocations: 8.094 kB / 0.9052 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.3576, allocations: 156.7 kB / 0.9054 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.3582, allocations: 163.8 kB / 0.9055 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008499/0.359, allocations: 0.7318 MB / 0.9063 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.3603, allocations: 163.4 kB / 0.9064 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.3604, allocations: 35.98 kB / 0.9064 GB, free: 0.7227 MB / 0.7169 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.0007994/0.3612, allocations: 415.8 kB / 0.9068 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/0.3616, allocations: 130.4 kB / 0.907 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/0.3659, allocations: 1.4 MB / 0.9083 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.3659, allocations: 4 kB / 0.9083 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3659, allocations: 0 / 0.9083 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003709/0.3697, allocations: 1.217 MB / 0.9095 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004413/0.3741, allocations: 2.364 MB / 0.9118 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.3741, allocations: 4 kB / 0.9118 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.3746, allocations: 119.9 kB / 0.9119 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/0.3752, allocations: 149 kB / 0.9121 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.3753, allocations: 23.98 kB / 0.9121 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008096/0.3761, allocations: 0.7278 MB / 0.9128 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.3761, allocations: 4 kB / 0.9128 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.3791, allocations: 1.462 MB / 0.9143 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008367/0.3799, allocations: 331.1 kB / 0.9146 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.3803, allocations: 20 kB / 0.9146 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.3813, allocations: 99.8 kB / 0.9147 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.3814, allocations: 56.27 kB / 0.9147 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/0.3815, allocations: 31.98 kB / 0.9148 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001647/0.3832, allocations: 0.8582 MB / 0.9156 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3832, allocations: 0 / 0.9156 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002289/0.3855, allocations: 0.694 MB / 0.9163 GB, free: 6.344 MB / 0.7325 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.0008469/0.3863, allocations: 434.1 kB / 0.9167 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002651/0.389, allocations: 1.164 MB / 0.9178 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.389, allocations: 4.125 kB / 0.9178 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.39, allocations: 415.1 kB / 0.9182 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/0.3939, allocations: 0.7613 MB / 0.919 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.3984, allocations: 2.773 MB / 0.9217 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3678/0.7662, allocations: 1.166 MB / 0.9228 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001456/0.7677, allocations: 314 kB / 0.9231 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.768, allocations: 106.5 kB / 0.9232 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/0.768, allocations: 0 / 0.9232 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.04373/0.8117, allocations: 29.51 MB / 0.952 GB, free: 122.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: