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.0008931/0.0008931, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005187/0.005187, allocations: 173.9 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.619/1.619, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0008095/0.0008096, allocations: 12.62 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.182, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05599/0.238, allocations: 73.51 MB / 0.8598 GB, free: 1.762 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.2532, allocations: 14.93 MB / 0.8743 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008715/0.2541, allocations: 59.62 kB / 0.8744 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.2554, allocations: 0.6759 MB / 0.8751 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.2592, allocations: 2.364 MB / 0.8774 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.2614, allocations: 1.282 MB / 0.8786 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004034/0.2654, allocations: 5.526 MB / 0.884 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.2666, allocations: 1.143 MB / 0.8851 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.2681, allocations: 1.334 MB / 0.8864 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.2691, allocations: 1.159 MB / 0.8876 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.2693, allocations: 56 kB / 0.8876 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.271, allocations: 1.259 MB / 0.8889 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.2712, allocations: 290.6 kB / 0.8891 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005877/0.2718, allocations: 0.7984 MB / 0.8899 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.274, allocations: 2.737 MB / 0.8926 GB, free: 40 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.274, allocations: 4 kB / 0.8926 GB, free: 36 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.132e-06/0.274, allocations: 0 / 0.8926 GB, free: 36 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.274, allocations: 0 / 0.8926 GB, free: 36 kB / 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.002617/0.2767, allocations: 1.787 MB / 0.8943 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2767, allocations: 12.03 kB / 0.8943 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.2769, allocations: 152.1 kB / 0.8945 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006561/0.2775, allocations: 238.9 kB / 0.8947 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.2794, allocations: 1.488 MB / 0.8962 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.2795, allocations: 78 kB / 0.8962 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.2796, allocations: 103.9 kB / 0.8963 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.2813, allocations: 1.124 MB / 0.8974 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.2814, allocations: 0 / 0.8974 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.2815, allocations: 44 kB / 0.8975 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.2815, allocations: 27.98 kB / 0.8975 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.2832, allocations: 0.9329 MB / 0.8984 GB, free: 9.898 MB / 0.7169 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.004582/0.2878, allocations: 4.942 MB / 0.9033 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.289, allocations: 0.6353 MB / 0.9039 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/0.2897, allocations: 382.2 kB / 0.9042 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004848/0.2902, allocations: 0.8238 MB / 0.905 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2902, allocations: 47.12 kB / 0.9051 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 1.493e-06/0.2902, allocations: 0 / 0.9051 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.004391/0.2946, allocations: 1.53 MB / 0.9066 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.2946, allocations: 55.97 kB / 0.9066 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.2959, allocations: 1.206 MB / 0.9078 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.296, allocations: 45.7 kB / 0.9079 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.2964, allocations: 0.5948 MB / 0.9084 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.2965, allocations: 216.9 kB / 0.9086 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.2966, allocations: 65.67 kB / 0.9087 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.2967, allocations: 337.9 kB / 0.909 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.2973, allocations: 301.8 kB / 0.9093 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007429/0.2981, allocations: 0.5124 MB / 0.9098 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.2994, allocations: 0.7472 MB / 0.9105 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2994, allocations: 0 / 0.9105 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004379/0.3038, allocations: 1.406 MB / 0.9119 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.493e-05/0.3039, allocations: 189.1 kB / 0.9121 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3039, allocations: 4 kB / 0.9121 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/0.3045, allocations: 160.7 kB / 0.9123 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.305, allocations: 163.8 kB / 0.9124 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007499/0.3058, allocations: 0.7395 MB / 0.9131 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009172/0.3067, allocations: 167.1 kB / 0.9133 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.3068, allocations: 31.98 kB / 0.9133 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.3068, allocations: 4 kB / 0.9133 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004209/0.311, allocations: 1.25 MB / 0.9145 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.311, allocations: 4 kB / 0.9146 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.3115, allocations: 160.8 kB / 0.9147 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.3121, allocations: 171.8 kB / 0.9149 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007175/0.3128, allocations: 0.724 MB / 0.9156 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/0.3136, allocations: 174.4 kB / 0.9157 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.3137, allocations: 28 kB / 0.9158 GB, free: 7.316 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003978/0.3141, allocations: 417 kB / 0.9162 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.3143, allocations: 130.4 kB / 0.9163 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/0.3186, allocations: 1.412 MB / 0.9177 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.3186, allocations: 8 kB / 0.9177 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3186, allocations: 0 / 0.9177 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003933/0.3226, allocations: 1.224 MB / 0.9189 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.3257, allocations: 2.356 MB / 0.9212 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3258, allocations: 4 kB / 0.9212 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.3262, allocations: 119.8 kB / 0.9213 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/0.3267, allocations: 157.2 kB / 0.9214 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.3267, allocations: 27.97 kB / 0.9215 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006807/0.3274, allocations: 0.7123 MB / 0.9222 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3274, allocations: 7.938 kB / 0.9222 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3097/0.6372, allocations: 1.456 MB / 0.9236 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/0.6378, allocations: 334 kB / 0.9239 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.638, allocations: 16.17 kB / 0.9239 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/0.639, allocations: 99.94 kB / 0.924 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6391, allocations: 54.39 kB / 0.9241 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.6392, allocations: 31.34 kB / 0.9241 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001207/0.6404, allocations: 0.8707 MB / 0.925 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6404, allocations: 0 / 0.925 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001699/0.6421, allocations: 0.6978 MB / 0.9256 GB, free: 133.3 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003398/0.6455, allocations: 2.344 MB / 0.9279 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.6476, allocations: 1.173 MB / 0.9291 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6476, allocations: 2.562 kB / 0.9291 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008169/0.6485, allocations: 420.5 kB / 0.9295 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/0.652, allocations: 0.7962 MB / 0.9303 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/0.6725, allocations: 11.22 MB / 0.9412 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008889/0.6734, allocations: 1.173 MB / 0.9424 GB, free: 126 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001339/0.6747, allocations: 305 kB / 0.9426 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006366/0.6754, allocations: 0.5161 MB / 0.9431 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/0.6754, allocations: 0.5 kB / 0.9431 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.67/4.345, allocations: 42.61 MB / 0.9848 GB, free: 96.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/4.346, allocations: 276.5 kB / 0.985 GB, free: 96.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/6.994, allocations: 4.406 kB / 0.985 GB, free: 96.36 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/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)