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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001118/0.001118, allocations: 182.6 kB / 326.5 MB, free: 2.258 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.701/1.701, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008178/0.0008179, allocations: 92.59 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004436, allocations: 12.44 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2039, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06778/0.2717, allocations: 63.02 MB / 0.9617 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.025/0.2967, allocations: 12.86 MB / 0.9742 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.2987, allocations: 55.56 kB / 0.9743 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.3009, allocations: 0.7384 MB / 0.975 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006849/0.3078, allocations: 2.355 MB / 0.9773 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.3119, allocations: 1.426 MB / 0.9787 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004751/0.3167, allocations: 2.482 MB / 0.9811 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.3188, allocations: 1.025 MB / 0.9821 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.3218, allocations: 1.168 MB / 0.9833 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.3235, allocations: 0.7856 MB / 0.984 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.3238, allocations: 56 kB / 0.9841 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.3266, allocations: 0.8504 MB / 0.9849 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003834/0.327, allocations: 258.9 kB / 0.9852 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006413/0.3276, allocations: 352.9 kB / 0.9855 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.3304, allocations: 2.023 MB / 0.9875 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.3304, allocations: 0 / 0.9875 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3305, allocations: 0 / 0.9875 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.439e-05/0.3305, allocations: 0 / 0.9875 GB, free: 6.184 MB / 0.6355 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.003321/0.3338, allocations: 1.791 MB / 0.9892 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3339, allocations: 8.031 kB / 0.9892 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.334, allocations: 151.9 kB / 0.9894 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007376/0.3348, allocations: 241.9 kB / 0.9896 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.3371, allocations: 1.369 MB / 0.991 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.3372, allocations: 78 kB / 0.991 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.3374, allocations: 100 kB / 0.9911 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.3393, allocations: 1.1 MB / 0.9922 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.3393, allocations: 7.984 kB / 0.9922 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.3394, allocations: 36 kB / 0.9922 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.3395, allocations: 27.95 kB / 0.9923 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.3414, allocations: 0.9329 MB / 0.9932 GB, free: 192 kB / 0.6355 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.006389/0.3478, allocations: 4.958 MB / 0.998 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.3492, allocations: 0.6477 MB / 0.9987 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005893/0.3498, allocations: 0.8277 MB / 0.9995 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3498, allocations: 47.06 kB / 0.9995 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=62): time 2.394e-06/0.3498, allocations: 0 / 0.9995 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of matching and sorting (n=62): time 0.004726/0.3545, allocations: 1.511 MB / 1.001 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3546, allocations: 63.97 kB / 1.001 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.3562, allocations: 1.253 MB / 1.002 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.3562, allocations: 41.7 kB / 1.002 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.3567, allocations: 0.6026 MB / 1.003 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.3569, allocations: 216.8 kB / 1.003 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.3569, allocations: 16 kB / 1.003 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3571, allocations: 330 kB / 1.003 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.3577, allocations: 297.8 kB / 1.004 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.3585, allocations: 0.5037 MB / 1.004 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.3593, allocations: 359 kB / 1.005 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3593, allocations: 0 / 1.005 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004537/0.3638, allocations: 1.394 MB / 1.006 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004646/0.3643, allocations: 1.334 MB / 1.007 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3643, allocations: 0 / 1.007 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/0.365, allocations: 168.6 kB / 1.007 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.3656, allocations: 171.8 kB / 1.008 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008332/0.3664, allocations: 0.7202 MB / 1.008 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.3676, allocations: 179 kB / 1.008 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.3677, allocations: 32 kB / 1.008 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.3677, allocations: 4 kB / 1.008 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00436/0.3721, allocations: 1.253 MB / 1.01 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3721, allocations: 4 kB / 1.01 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.3727, allocations: 161.1 kB / 1.01 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.3734, allocations: 163.7 kB / 1.01 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008695/0.3743, allocations: 0.7202 MB / 1.011 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.3757, allocations: 171.8 kB / 1.011 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.3758, allocations: 27.98 kB / 1.011 GB, free: 13.25 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.0007577/0.3765, allocations: 432.8 kB / 1.011 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.3768, allocations: 130.4 kB / 1.011 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004731/0.3815, allocations: 1.381 MB / 1.013 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.3816, allocations: 7.984 kB / 1.013 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3816, allocations: 4 kB / 1.013 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00419/0.3858, allocations: 1.221 MB / 1.014 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.3902, allocations: 2.36 MB / 1.016 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.3902, allocations: 4 kB / 1.016 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.3907, allocations: 132.2 kB / 1.016 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006179/0.3914, allocations: 164.5 kB / 1.017 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.3914, allocations: 19.98 kB / 1.017 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008193/0.3923, allocations: 0.7124 MB / 1.017 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3923, allocations: 7.938 kB / 1.017 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/0.3953, allocations: 1.656 MB / 1.019 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/0.3961, allocations: 343 kB / 1.019 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.3963, allocations: 19.95 kB / 1.019 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/0.3972, allocations: 105.9 kB / 1.019 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3973, allocations: 52.3 kB / 1.019 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.3974, allocations: 27.98 kB / 1.019 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001329/0.3987, allocations: 0.8972 MB / 1.02 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3987, allocations: 0 / 1.02 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001997/0.4008, allocations: 0.7212 MB / 1.021 GB, free: 2.445 MB / 0.6667 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.004345/0.4051, allocations: 3.473 MB / 1.024 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.4077, allocations: 1.164 MB / 1.026 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.4078, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.4087, allocations: 419.3 kB / 1.026 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/0.4124, allocations: 0.7542 MB / 1.027 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006009/0.4184, allocations: 5.779 MB / 1.032 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.4191, allocations: 1.207 MB / 1.033 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001291/0.4204, allocations: 305.9 kB / 1.034 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006678/0.4211, allocations: 0.511 MB / 1.034 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/0.4211, allocations: 4 kB / 1.034 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4236/0.8447, allocations: 42 MB / 1.075 GB, free: 138.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.845, allocations: 270.2 kB / 1.076 GB, free: 138.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/4.18, allocations: 0 / 1.076 GB, free: 138.1 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)