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.001379/0.001379, allocations: 103.6 kB / 16.27 MB, free: 5.98 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.001135/0.001135, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.402/1.402, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.17/2.17, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.0025/0.002501, allocations: 70.41 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3079, allocations: 114.6 MB / 0.784 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.4697/0.7777, allocations: 75.23 MB / 0.8575 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02859/0.8064, allocations: 15.06 MB / 0.8722 GB, free: 4.465 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004764/0.8112, allocations: 63.81 kB / 0.8723 GB, free: 4.441 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004981/0.8163, allocations: 0.8257 MB / 0.8731 GB, free: 3.926 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.8305, allocations: 2.57 MB / 0.8756 GB, free: 2.383 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006847/0.8373, allocations: 1.392 MB / 0.8769 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.8476, allocations: 4.348 MB / 0.8812 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/0.8514, allocations: 1.44 MB / 0.8826 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006987/0.8585, allocations: 1.633 MB / 0.8842 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003956/0.8625, allocations: 1.217 MB / 0.8854 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007732/0.8633, allocations: 164.2 kB / 0.8855 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006727/0.87, allocations: 1.421 MB / 0.8869 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.8711, allocations: 398.5 kB / 0.8873 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002496/0.8736, allocations: 0.9129 MB / 0.8882 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006591/0.8802, allocations: 2.861 MB / 0.891 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.8803, allocations: 3.938 kB / 0.891 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8803, allocations: 0.6562 kB / 0.891 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.34e-05/0.8804, allocations: 1.125 kB / 0.891 GB, free: 8.605 MB / 0.6856 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.005262/0.8857, allocations: 2.094 MB / 0.893 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8857, allocations: 9.094 kB / 0.893 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.8868, allocations: 234.6 kB / 0.8933 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.8896, allocations: 1.446 MB / 0.8947 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.888e-05/0.8897, allocations: 76.16 kB / 0.8947 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.8899, allocations: 107.3 kB / 0.8948 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.892, allocations: 1.1 MB / 0.8959 GB, free: 5 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.8921, allocations: 1.125 kB / 0.8959 GB, free: 5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.214e-05/0.8922, allocations: 41.62 kB / 0.896 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.8922, allocations: 27.97 kB / 0.896 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.8941, allocations: 0.8953 MB / 0.8969 GB, free: 4.52 MB / 0.6856 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.007037/0.9012, allocations: 4.964 MB / 0.9017 GB, free: 264 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.9027, allocations: 0.6125 MB / 0.9023 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.9034, allocations: 359.2 kB / 0.9026 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000684/0.9041, allocations: 0.8266 MB / 0.9035 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.9041, allocations: 45.97 kB / 0.9035 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=62): time 2.796e-06/0.9041, allocations: 7.875 kB / 0.9035 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of matching and sorting (n=62): time 0.005181/0.9093, allocations: 1.398 MB / 0.9049 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.9094, allocations: 62.83 kB / 0.9049 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.9112, allocations: 1.224 MB / 0.9061 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.9114, allocations: 43.33 kB / 0.9062 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005529/0.9119, allocations: 0.6074 MB / 0.9068 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.9122, allocations: 215.3 kB / 0.907 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.9124, allocations: 159.5 kB / 0.9071 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.9126, allocations: 337.9 kB / 0.9074 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.9132, allocations: 288.7 kB / 0.9077 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008522/0.9141, allocations: 0.4889 MB / 0.9082 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.9156, allocations: 0.712 MB / 0.9089 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.9156, allocations: 3.938 kB / 0.9089 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004874/0.9204, allocations: 1.265 MB / 0.9101 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.9205, allocations: 12.06 kB / 0.9101 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.9205, allocations: 4 kB / 0.9101 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/0.9213, allocations: 149.4 kB / 0.9103 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.9219, allocations: 163.7 kB / 0.9104 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000896/0.9228, allocations: 0.711 MB / 0.9111 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.9243, allocations: 127.1 kB / 0.9113 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/0.9244, allocations: 35.98 kB / 0.9113 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001172/0.9256, allocations: 0.5527 MB / 0.9118 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008536/0.9265, allocations: 495.8 kB / 0.9123 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001387/0.9279, allocations: 0.7004 MB / 0.913 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.9279, allocations: 0 / 0.913 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004886/0.9328, allocations: 1.265 MB / 0.9142 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9328, allocations: 7.938 kB / 0.9142 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.9328, allocations: 4 kB / 0.9142 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/0.9334, allocations: 152.8 kB / 0.9144 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.9341, allocations: 159.8 kB / 0.9145 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008555/0.9349, allocations: 0.713 MB / 0.9152 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.9364, allocations: 107.5 kB / 0.9153 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/0.9365, allocations: 35.98 kB / 0.9154 GB, free: 3.59 MB / 0.7012 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.0002875/0.9368, allocations: 225.2 kB / 0.9156 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/0.9372, allocations: 138.2 kB / 0.9157 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/0.9418, allocations: 1.257 MB / 0.9169 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.9418, allocations: 8 kB / 0.9169 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9418, allocations: 0 / 0.9169 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003997/0.9458, allocations: 1.092 MB / 0.918 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/0.9504, allocations: 2.319 MB / 0.9203 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.9505, allocations: 11.88 kB / 0.9203 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.951, allocations: 107.9 kB / 0.9204 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005811/0.9516, allocations: 148.8 kB / 0.9205 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.9516, allocations: 27.94 kB / 0.9206 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008047/0.9524, allocations: 0.7006 MB / 0.9212 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.9524, allocations: 8.562 kB / 0.9213 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.9554, allocations: 1.395 MB / 0.9226 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/0.9561, allocations: 303.2 kB / 0.9229 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.9563, allocations: 20 kB / 0.9229 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000814/0.9571, allocations: 54.91 kB / 0.923 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.9573, allocations: 60.31 kB / 0.923 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.9573, allocations: 35.91 kB / 0.9231 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001261/0.9586, allocations: 0.8816 MB / 0.9239 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9586, allocations: 0 / 0.9239 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001997/0.9606, allocations: 0.7135 MB / 0.9246 GB, free: 9.824 MB / 0.7169 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.0009876/0.9616, allocations: 460.5 kB / 0.9251 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002888/0.9645, allocations: 1.166 MB / 0.9262 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.9645, allocations: 128 / 0.9262 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009494/0.9655, allocations: 411.6 kB / 0.9266 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/0.9694, allocations: 0.814 MB / 0.9274 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.9734, allocations: 2.332 MB / 0.9297 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.9742, allocations: 1.168 MB / 0.9308 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.9745, allocations: 111.4 kB / 0.9309 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of SimCode: time 1.342e-06/0.9745, allocations: 0 / 0.9309 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of Templates: time 0.04367/1.018, allocations: 31.25 MB / 0.9614 GB, free: 4.375 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (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)