Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_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.415/1.415, allocations: 252 MB / 267 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.001058/0.001058, allocations: 182.5 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.001094/0.001094, allocations: 92.34 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003444, allocations: 9.969 kB / 0.7964 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2437, allocations: 106.3 MB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04333/0.2871, allocations: 56.55 MB / 0.9555 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.301, allocations: 11.09 MB / 0.9664 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.3035, allocations: 51.62 kB / 0.9664 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.3057, allocations: 464.9 kB / 0.9669 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00589/0.3117, allocations: 1.514 MB / 0.9683 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.3152, allocations: 0.8782 MB / 0.9692 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005427/0.3207, allocations: 3.379 MB / 0.9725 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.3228, allocations: 0.7821 MB / 0.9733 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.326, allocations: 1.042 MB / 0.9743 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.3283, allocations: 0.8205 MB / 0.9751 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004549/0.3287, allocations: 44 kB / 0.9751 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.3322, allocations: 1.095 MB / 0.9762 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005233/0.3328, allocations: 203 kB / 0.9764 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.3336, allocations: 285 kB / 0.9767 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.3368, allocations: 1.633 MB / 0.9782 GB, free: 268 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3368, allocations: 0 / 0.9782 GB, free: 268 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3369, allocations: 4 kB / 0.9783 GB, free: 264 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.086e-05/0.337, allocations: 0 / 0.9783 GB, free: 264 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004042/0.341, allocations: 1.504 MB / 0.9797 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.3411, allocations: 12.03 kB / 0.9797 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003567/0.3415, allocations: 122.7 kB / 0.9798 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.344, allocations: 481.8 kB / 0.9803 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/0.347, allocations: 1.09 MB / 0.9814 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.3474, allocations: 129.9 kB / 0.9815 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.3477, allocations: 80 kB / 0.9816 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.3505, allocations: 1.003 MB / 0.9826 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3505, allocations: 3.938 kB / 0.9826 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.3506, allocations: 36 kB / 0.9826 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.3507, allocations: 19.95 kB / 0.9826 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.3532, allocations: 0.9289 MB / 0.9835 GB, free: 10.7 MB / 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.007776/0.361, allocations: 4.66 MB / 0.9881 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.3648, allocations: 0.9364 MB / 0.989 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008819/0.3657, allocations: 338 kB / 0.9893 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007016/0.3664, allocations: 0.9068 MB / 0.9902 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.3665, allocations: 42.94 kB / 0.9902 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.176e-06/0.3665, allocations: 0 / 0.9902 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.009582/0.3761, allocations: 2.205 MB / 0.9924 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3762, allocations: 59.8 kB / 0.9924 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.3783, allocations: 1.051 MB / 0.9935 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.3785, allocations: 37.69 kB / 0.9935 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/0.379, allocations: 0.5197 MB / 0.994 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.3792, allocations: 165.6 kB / 0.9942 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.3793, allocations: 8 kB / 0.9942 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3794, allocations: 337.9 kB / 0.9945 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009846/0.3804, allocations: 332.9 kB / 0.9948 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.3816, allocations: 0.5236 MB / 0.9953 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.3826, allocations: 372.5 kB / 0.9957 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3826, allocations: 0 / 0.9957 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003073/0.3857, allocations: 1.058 MB / 0.9967 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.3859, allocations: 204.3 kB / 0.9969 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3859, allocations: 4 kB / 0.9969 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.3874, allocations: 330.5 kB / 0.9972 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.388, allocations: 143.8 kB / 0.9974 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.3897, allocations: 0.9309 MB / 0.9983 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.3913, allocations: 195.2 kB / 0.9985 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.3914, allocations: 31.98 kB / 0.9985 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3915, allocations: 4 kB / 0.9985 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002814/0.3943, allocations: 0.936 MB / 0.9994 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3943, allocations: 4.375 kB / 0.9994 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.3956, allocations: 338.8 kB / 0.9997 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.3963, allocations: 131.8 kB / 0.9999 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.398, allocations: 0.931 MB / 1.001 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.3995, allocations: 179.2 kB / 1.001 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.3996, allocations: 35.92 kB / 1.001 GB, free: 8.004 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007524/0.4004, allocations: 353.6 kB / 1.001 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.4008, allocations: 110.6 kB / 1.001 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.4052, allocations: 1.241 MB / 1.003 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.4053, allocations: 7.984 kB / 1.003 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.4053, allocations: 4 kB / 1.003 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4053, allocations: 7.891 kB / 1.003 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.4118, allocations: 2.351 MB / 1.005 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.4118, allocations: 0 / 1.005 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.4122, allocations: 88.16 kB / 1.005 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.4134, allocations: 312.6 kB / 1.005 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.4135, allocations: 19.98 kB / 1.005 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.415, allocations: 0.9799 MB / 1.006 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.415, allocations: 4 kB / 1.006 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.4191, allocations: 1.322 MB / 1.008 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007858/0.4199, allocations: 283.5 kB / 1.008 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/0.4203, allocations: 12 kB / 1.008 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.4215, allocations: 115.7 kB / 1.008 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4216, allocations: 47.22 kB / 1.008 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/0.4217, allocations: 27.98 kB / 1.008 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001519/0.4232, allocations: 0.7313 MB / 1.009 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4232, allocations: 0 / 1.009 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002165/0.4254, allocations: 0.5654 MB / 1.009 GB, free: 15.24 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (38): * Single equations (assignments): 33 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005441/0.4309, allocations: 2.117 MB / 1.011 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003869/0.4348, allocations: 1.214 MB / 1.013 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.4348, allocations: 192 / 1.013 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.4359, allocations: 402.6 kB / 1.013 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/0.4393, allocations: 0.5239 MB / 1.013 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/0.4583, allocations: 6.936 MB / 1.02 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008783/0.4593, allocations: 1.066 MB / 1.021 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001322/0.4606, allocations: 234.4 kB / 1.022 GB, free: 2.355 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/0.4613, allocations: 415.3 kB / 1.022 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of SimCode: time 3.186e-06/0.4614, allocations: 0 / 1.022 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06404/0.5254, allocations: 34.1 MB / 1.055 GB, free: 244 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.452/0.9774, allocations: 271.6 kB / 1.055 GB, free: 158.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/4.172, allocations: 0 / 1.055 GB, free: 158.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)