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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001476/0.001477, allocations: 168.7 kB / 15.95 MB, free: 204 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.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.728/1.728, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005351/0.0005354, allocations: 14.72 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2291, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06743/0.2966, allocations: 69.48 MB / 0.8553 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01937/0.316, allocations: 14.07 MB / 0.869 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.3185, allocations: 55.62 kB / 0.869 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.3207, allocations: 0.5627 MB / 0.8696 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007279/0.328, allocations: 1.966 MB / 0.8715 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.3319, allocations: 0.9805 MB / 0.8725 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006919/0.3388, allocations: 4.764 MB / 0.8771 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.3412, allocations: 1.017 MB / 0.8781 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.3443, allocations: 1.295 MB / 0.8794 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.3463, allocations: 1.097 MB / 0.8805 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.3465, allocations: 56 kB / 0.8805 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.3491, allocations: 0.9277 MB / 0.8814 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.3494, allocations: 278.6 kB / 0.8817 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.3501, allocations: 360.9 kB / 0.882 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.353, allocations: 2.092 MB / 0.8841 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.353, allocations: 0 / 0.8841 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.589e-06/0.353, allocations: 3.984 kB / 0.8841 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.794e-05/0.3531, allocations: 4 kB / 0.8841 GB, free: 8.527 MB / 0.7012 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.003655/0.3567, allocations: 1.807 MB / 0.8858 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3568, allocations: 8.031 kB / 0.8858 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001912/0.357, allocations: 147.9 kB / 0.886 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006965/0.3577, allocations: 241.9 kB / 0.8862 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.3602, allocations: 1.443 MB / 0.8876 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.552e-05/0.3603, allocations: 82 kB / 0.8877 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.3604, allocations: 103.9 kB / 0.8878 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.3625, allocations: 1.108 MB / 0.8889 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.3625, allocations: 4 kB / 0.8889 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.3626, allocations: 44 kB / 0.8889 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.3627, allocations: 24 kB / 0.889 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.3646, allocations: 0.929 MB / 0.8899 GB, free: 2.438 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.00671/0.3713, allocations: 4.931 MB / 0.8947 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.3726, allocations: 0.639 MB / 0.8953 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006917/0.3733, allocations: 366.3 kB / 0.8956 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006722/0.374, allocations: 0.8277 MB / 0.8965 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.374, allocations: 43.11 kB / 0.8965 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.795e-06/0.3741, allocations: 4 kB / 0.8965 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.004401/0.3785, allocations: 1.518 MB / 0.898 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3785, allocations: 55.97 kB / 0.898 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.3801, allocations: 1.202 MB / 0.8992 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.3802, allocations: 41.7 kB / 0.8993 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.3807, allocations: 0.6026 MB / 0.8998 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.3809, allocations: 216.9 kB / 0.9 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.381, allocations: 12 kB / 0.9001 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3811, allocations: 334 kB / 0.9004 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/0.3817, allocations: 293.8 kB / 0.9007 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.3826, allocations: 0.5065 MB / 0.9012 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.3833, allocations: 367 kB / 0.9015 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3833, allocations: 0 / 0.9015 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004055/0.3873, allocations: 1.387 MB / 0.9029 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.3875, allocations: 197 kB / 0.903 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3875, allocations: 3.953 kB / 0.903 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006707/0.3882, allocations: 164.7 kB / 0.9032 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.3888, allocations: 163.8 kB / 0.9034 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008261/0.3896, allocations: 0.7318 MB / 0.9041 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.3906, allocations: 171.1 kB / 0.9042 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.3907, allocations: 31.98 kB / 0.9043 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.383e-06/0.3907, allocations: 4 kB / 0.9043 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00395/0.3947, allocations: 1.242 MB / 0.9055 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.3947, allocations: 4.375 kB / 0.9055 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.3952, allocations: 164.7 kB / 0.9056 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.3958, allocations: 163.8 kB / 0.9058 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008222/0.3966, allocations: 0.724 MB / 0.9065 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.3977, allocations: 171.1 kB / 0.9067 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.3978, allocations: 31.98 kB / 0.9067 GB, free: 436 kB / 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.0008049/0.3986, allocations: 417 kB / 0.9071 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.3988, allocations: 130.5 kB / 0.9072 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/0.4029, allocations: 1.404 MB / 0.9086 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4029, allocations: 4 kB / 0.9086 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.403, allocations: 0 / 0.9086 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003648/0.4066, allocations: 1.224 MB / 0.9098 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.4104, allocations: 2.353 MB / 0.9121 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4104, allocations: 4 kB / 0.9121 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.4109, allocations: 123.8 kB / 0.9122 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/0.4114, allocations: 156.9 kB / 0.9124 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.4115, allocations: 16 kB / 0.9124 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007423/0.4122, allocations: 0.7201 MB / 0.9131 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.4122, allocations: 7.938 kB / 0.9131 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.4147, allocations: 1.45 MB / 0.9145 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.4152, allocations: 343.2 kB / 0.9148 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.4154, allocations: 16 kB / 0.9148 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007642/0.4162, allocations: 95.75 kB / 0.9149 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4163, allocations: 56.27 kB / 0.915 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.4163, allocations: 31.98 kB / 0.915 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001144/0.4175, allocations: 0.8582 MB / 0.9159 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4175, allocations: 0 / 0.9159 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001723/0.4192, allocations: 0.7018 MB / 0.9165 GB, free: 6.043 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.00346/0.4227, allocations: 2.318 MB / 0.9188 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00243/0.4251, allocations: 1.164 MB / 0.9199 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4251, allocations: 0 / 0.9199 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008418/0.426, allocations: 419.2 kB / 0.9203 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/0.4291, allocations: 0.7681 MB / 0.9211 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5088/0.9379, allocations: 8.34 MB / 0.9292 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.9386, allocations: 1.168 MB / 0.9304 GB, free: 130 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001474/0.9401, allocations: 306.9 kB / 0.9307 GB, free: 130 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007965/0.9409, allocations: 0.51 MB / 0.9312 GB, free: 130 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/0.9409, allocations: 0 / 0.9312 GB, free: 130 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08341/1.024, allocations: 42.22 MB / 0.9724 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.025, allocations: 249 kB / 0.9726 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/3.903, allocations: 0 / 0.9726 GB, free: 108.3 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: