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.0009557/0.0009557, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009162/0.0009163, allocations: 177.3 kB / 15.95 MB, free: 216 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.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.618/1.618, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005035/0.0005036, allocations: 16.75 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.232, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06002/0.2921, allocations: 63.01 MB / 0.8486 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.3091, allocations: 12.89 MB / 0.8612 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.3115, allocations: 51.62 kB / 0.8613 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.3141, allocations: 0.7423 MB / 0.862 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007103/0.3212, allocations: 2.356 MB / 0.8643 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004281/0.3255, allocations: 1.534 MB / 0.8658 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004902/0.3304, allocations: 2.483 MB / 0.8682 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.3325, allocations: 1.037 MB / 0.8692 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.3352, allocations: 1.164 MB / 0.8704 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.3365, allocations: 0.7973 MB / 0.8712 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.3367, allocations: 56 kB / 0.8712 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.3391, allocations: 0.8464 MB / 0.872 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.3394, allocations: 259 kB / 0.8723 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.3398, allocations: 356.9 kB / 0.8726 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.3424, allocations: 2.026 MB / 0.8746 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3425, allocations: 0 / 0.8746 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.747e-06/0.3425, allocations: 4 kB / 0.8746 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.993e-05/0.3425, allocations: 7.938 kB / 0.8746 GB, free: 2.168 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.003285/0.3458, allocations: 1.787 MB / 0.8764 GB, free: 324 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3459, allocations: 15.97 kB / 0.8764 GB, free: 308 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007304/0.3466, allocations: 241.9 kB / 0.8766 GB, free: 64 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.3488, allocations: 1.369 MB / 0.8779 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.3489, allocations: 81.98 kB / 0.878 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.349, allocations: 100 kB / 0.8781 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3508, allocations: 1.108 MB / 0.8792 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.3509, allocations: 7.938 kB / 0.8792 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.821e-05/0.351, allocations: 39.98 kB / 0.8792 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.351, allocations: 28 kB / 0.8793 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.3528, allocations: 0.929 MB / 0.8802 GB, free: 12.32 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.005555/0.3583, allocations: 4.966 MB / 0.885 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.3598, allocations: 0.6584 MB / 0.8857 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005476/0.3603, allocations: 0.8277 MB / 0.8865 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3604, allocations: 39.12 kB / 0.8865 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/0.3604, allocations: 0 / 0.8865 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=62): time 0.004712/0.3651, allocations: 1.515 MB / 0.888 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.3652, allocations: 63.92 kB / 0.8881 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.3667, allocations: 1.249 MB / 0.8893 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/0.3668, allocations: 41.7 kB / 0.8893 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/0.3672, allocations: 0.6026 MB / 0.8899 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.3674, allocations: 216.9 kB / 0.8901 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.3675, allocations: 12 kB / 0.8901 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3676, allocations: 338 kB / 0.8904 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006248/0.3682, allocations: 293.8 kB / 0.8907 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.369, allocations: 0.5044 MB / 0.8912 GB, free: 384 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/0.3697, allocations: 363 kB / 0.8916 GB, free: 20 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3698, allocations: 0 / 0.8916 GB, free: 20 kB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004501/0.3743, allocations: 1.39 MB / 0.8929 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004769/0.3748, allocations: 1.331 MB / 0.8942 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3748, allocations: 4 kB / 0.8942 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/0.3754, allocations: 164.7 kB / 0.8944 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.3761, allocations: 163.8 kB / 0.8945 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008214/0.3769, allocations: 0.7279 MB / 0.8952 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.3781, allocations: 171.1 kB / 0.8954 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.3782, allocations: 35.98 kB / 0.8954 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.585e-06/0.3782, allocations: 0 / 0.8954 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00426/0.3825, allocations: 1.245 MB / 0.8967 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3825, allocations: 4 kB / 0.8967 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/0.3831, allocations: 165 kB / 0.8968 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.3837, allocations: 167.7 kB / 0.897 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008213/0.3845, allocations: 0.728 MB / 0.8977 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.3857, allocations: 170.1 kB / 0.8979 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.3858, allocations: 31.98 kB / 0.8979 GB, free: 9.391 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.0006559/0.3864, allocations: 420.9 kB / 0.8983 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.3866, allocations: 134.4 kB / 0.8984 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/0.3911, allocations: 1.404 MB / 0.8998 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.3911, allocations: 4 kB / 0.8998 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3912, allocations: 4 kB / 0.8998 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004129/0.3953, allocations: 1.221 MB / 0.901 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/0.3996, allocations: 2.361 MB / 0.9033 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3997, allocations: 12.05 kB / 0.9033 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.4001, allocations: 119.8 kB / 0.9034 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005742/0.4007, allocations: 160.7 kB / 0.9036 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.4008, allocations: 19.98 kB / 0.9036 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007966/0.4016, allocations: 0.72 MB / 0.9043 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4016, allocations: 4 kB / 0.9043 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.4044, allocations: 1.664 MB / 0.9059 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/0.4051, allocations: 347.1 kB / 0.9063 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.4053, allocations: 23.98 kB / 0.9063 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.4061, allocations: 94.58 kB / 0.9064 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4062, allocations: 56.31 kB / 0.9064 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/0.4063, allocations: 31.98 kB / 0.9064 GB, free: 180 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001217/0.4075, allocations: 0.8933 MB / 0.9073 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4075, allocations: 0 / 0.9073 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001825/0.4094, allocations: 0.7135 MB / 0.908 GB, free: 14.57 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.0007628/0.4101, allocations: 463 kB / 0.9085 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002482/0.4126, allocations: 1.16 MB / 0.9096 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4126, allocations: 3.938 kB / 0.9096 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009042/0.4135, allocations: 419.2 kB / 0.91 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/0.4168, allocations: 0.7639 MB / 0.9107 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.4206, allocations: 2.769 MB / 0.9134 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/0.4213, allocations: 1.195 MB / 0.9146 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001199/0.4225, allocations: 303.2 kB / 0.9149 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.4227, allocations: 107.4 kB / 0.915 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.4228, allocations: 0 / 0.915 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of Templates: time 0.4534/0.8761, allocations: 30.18 MB / 0.9445 GB, free: 126.2 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: