Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 187.7 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007668/0.0007668, allocations: 91.61 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004182, allocations: 10.62 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2451, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05209/0.2973, allocations: 69.48 MB / 0.9687 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02032/0.3177, allocations: 14.03 MB / 0.9824 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003373/0.3211, allocations: 55.62 kB / 0.9824 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002722/0.3239, allocations: 0.5666 MB / 0.983 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007629/0.3315, allocations: 1.976 MB / 0.9849 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.3352, allocations: 0.9358 MB / 0.9858 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007383/0.3426, allocations: 4.763 MB / 0.9905 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.345, allocations: 1.001 MB / 0.9915 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.3486, allocations: 1.283 MB / 0.9927 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/0.3512, allocations: 1.085 MB / 0.9938 GB, free: 480 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.3515, allocations: 56 kB / 0.9938 GB, free: 424 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.3547, allocations: 0.9354 MB / 0.9947 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.3551, allocations: 266.8 kB / 0.995 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007947/0.3559, allocations: 356.9 kB / 0.9953 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.3592, allocations: 2.085 MB / 0.9974 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3592, allocations: 0 / 0.9974 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3592, allocations: 0 / 0.9974 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.005e-05/0.3593, allocations: 0 / 0.9974 GB, free: 12.77 MB / 0.6511 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.004098/0.3634, allocations: 1.803 MB / 0.9991 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.3635, allocations: 15.97 kB / 0.9991 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.3646, allocations: 241.8 kB / 0.9994 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004546/0.3692, allocations: 1.439 MB / 1.001 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/0.3693, allocations: 78 kB / 1.001 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.3696, allocations: 103.9 kB / 1.001 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.3723, allocations: 1.112 MB / 1.002 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.3723, allocations: 4 kB / 1.002 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/0.3724, allocations: 44 kB / 1.002 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/0.3725, allocations: 27.95 kB / 1.002 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.3747, allocations: 0.929 MB / 1.003 GB, free: 6.824 MB / 0.6511 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.008405/0.3832, allocations: 4.907 MB / 1.008 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.3855, allocations: 0.642 MB / 1.008 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.3868, allocations: 366.3 kB / 1.009 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.3878, allocations: 0.8277 MB / 1.01 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/0.3879, allocations: 47.05 kB / 1.01 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 5.971e-06/0.3879, allocations: 4 kB / 1.01 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.008181/0.3961, allocations: 1.514 MB / 1.011 GB, free: 14 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.3962, allocations: 55.97 kB / 1.011 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/0.3992, allocations: 1.202 MB / 1.012 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.3994, allocations: 45.7 kB / 1.012 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008017/0.4002, allocations: 0.6026 MB / 1.013 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.4006, allocations: 216.8 kB / 1.013 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.4007, allocations: 12 kB / 1.013 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.4009, allocations: 334 kB / 1.014 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.4021, allocations: 293.8 kB / 1.014 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.4035, allocations: 0.5037 MB / 1.014 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.4047, allocations: 370.9 kB / 1.015 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.4048, allocations: 0 / 1.015 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007429/0.4122, allocations: 1.382 MB / 1.016 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.4125, allocations: 197.4 kB / 1.016 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.4126, allocations: 4 kB / 1.016 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.4136, allocations: 160.7 kB / 1.016 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4148, allocations: 163.8 kB / 1.016 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.4162, allocations: 0.7279 MB / 1.017 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.4185, allocations: 175 kB / 1.017 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.4187, allocations: 35.98 kB / 1.017 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4187, allocations: 4 kB / 1.017 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006942/0.4257, allocations: 1.241 MB / 1.019 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.4258, allocations: 8.359 kB / 1.019 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000986/0.4268, allocations: 164.7 kB / 1.019 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4279, allocations: 159.8 kB / 1.019 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.4293, allocations: 0.7318 MB / 1.02 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.4316, allocations: 163.2 kB / 1.02 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.4317, allocations: 31.98 kB / 1.02 GB, free: 4.82 MB / 0.6667 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.001203/0.433, allocations: 417.6 kB / 1.02 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/0.4335, allocations: 142.2 kB / 1.02 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007197/0.4407, allocations: 1.396 MB / 1.022 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/0.4408, allocations: 4 kB / 1.022 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.4408, allocations: 0 / 1.022 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006538/0.4474, allocations: 1.221 MB / 1.023 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007221/0.4547, allocations: 2.341 MB / 1.025 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.4547, allocations: 4 kB / 1.025 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.4556, allocations: 119.8 kB / 1.025 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009486/0.4566, allocations: 156.9 kB / 1.025 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.4567, allocations: 16 kB / 1.025 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.4581, allocations: 0.726 MB / 1.026 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.4581, allocations: 4 kB / 1.026 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/0.4632, allocations: 1.454 MB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.4646, allocations: 335 kB / 1.028 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/0.465, allocations: 20.06 kB / 1.028 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.4666, allocations: 95.75 kB / 1.028 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.4668, allocations: 52.33 kB / 1.028 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.4669, allocations: 27.98 kB / 1.028 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001897/0.4688, allocations: 0.8621 MB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4688, allocations: 0 / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003118/0.472, allocations: 0.6979 MB / 1.03 GB, free: 10.46 MB / 0.6823 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.001342/0.4733, allocations: 435.5 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004381/0.4777, allocations: 1.176 MB / 1.031 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.4778, allocations: 0 / 1.031 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.4793, allocations: 415.3 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006309/0.4856, allocations: 0.7688 MB / 1.032 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007671/0.4933, allocations: 2.806 MB / 1.035 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/0.4947, allocations: 1.164 MB / 1.036 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/0.4955, allocations: 111.4 kB / 1.036 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of SimCode: time 2.334e-06/0.4955, allocations: 0 / 1.036 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.5411/1.037, allocations: 30.72 MB / 1.066 GB, free: 145.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)