Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009054/0.0009056, allocations: 84.38 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.001086/0.001086, 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.584/1.584, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.781/1.781, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005011/0.0005012, allocations: 12.5 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05243/0.2877, allocations: 56.57 MB / 0.8426 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.3034, allocations: 11.12 MB / 0.8535 GB, free: 7.969 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.3054, allocations: 55.62 kB / 0.8535 GB, free: 7.914 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.307, allocations: 468.8 kB / 0.854 GB, free: 7.453 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004473/0.3114, allocations: 1.515 MB / 0.8555 GB, free: 5.934 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.3142, allocations: 0.8787 MB / 0.8563 GB, free: 5.066 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004504/0.3187, allocations: 3.386 MB / 0.8596 GB, free: 1.668 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.3202, allocations: 0.7897 MB / 0.8604 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.3226, allocations: 1.042 MB / 0.8614 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.3239, allocations: 0.8166 MB / 0.8622 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.324, allocations: 44 kB / 0.8623 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.3265, allocations: 1.107 MB / 0.8633 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.3267, allocations: 199 kB / 0.8635 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.3272, allocations: 289 kB / 0.8638 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.3295, allocations: 1.645 MB / 0.8654 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3295, allocations: 4 kB / 0.8654 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3295, allocations: 0 / 0.8654 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.3295, allocations: 0 / 0.8654 GB, free: 11.7 MB / 0.6856 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.002666/0.3322, allocations: 1.512 MB / 0.8669 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3322, allocations: 8.031 kB / 0.8669 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.3324, allocations: 122.7 kB / 0.867 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.3343, allocations: 473.9 kB / 0.8675 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.3362, allocations: 1.098 MB / 0.8686 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/0.3366, allocations: 125.9 kB / 0.8687 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.3367, allocations: 76 kB / 0.8687 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.3386, allocations: 1.011 MB / 0.8697 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3386, allocations: 4 kB / 0.8697 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.906e-05/0.3387, allocations: 32 kB / 0.8698 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3387, allocations: 20 kB / 0.8698 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.3408, allocations: 0.9251 MB / 0.8707 GB, free: 6.145 MB / 0.6856 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.005947/0.3468, allocations: 4.627 MB / 0.8752 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.3499, allocations: 0.95 MB / 0.8761 GB, free: 252 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/0.3506, allocations: 341.2 kB / 0.8765 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.3513, allocations: 0.9067 MB / 0.8773 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3513, allocations: 39 kB / 0.8774 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 1.863e-06/0.3513, allocations: 0 / 0.8774 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.007695/0.359, allocations: 2.209 MB / 0.8795 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3591, allocations: 55.84 kB / 0.8796 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.3608, allocations: 1.051 MB / 0.8806 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.821e-05/0.3609, allocations: 37.7 kB / 0.8807 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.3614, allocations: 0.5197 MB / 0.8812 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.3615, allocations: 169.6 kB / 0.8813 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.3616, allocations: 11.94 kB / 0.8813 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3617, allocations: 333.9 kB / 0.8817 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008531/0.3626, allocations: 332.9 kB / 0.882 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009893/0.3636, allocations: 0.5302 MB / 0.8825 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/0.3645, allocations: 372.6 kB / 0.8828 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3645, allocations: 0 / 0.8828 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002571/0.3671, allocations: 1.066 MB / 0.8839 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.3672, allocations: 192.2 kB / 0.8841 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.3672, allocations: 4 kB / 0.8841 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.3684, allocations: 336.5 kB / 0.8844 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.369, allocations: 139.8 kB / 0.8845 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.3704, allocations: 0.9386 MB / 0.8854 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.3716, allocations: 191.3 kB / 0.8856 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.3717, allocations: 35.98 kB / 0.8857 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.3717, allocations: 4 kB / 0.8857 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002325/0.3741, allocations: 0.9361 MB / 0.8866 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3741, allocations: 4.375 kB / 0.8866 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.3751, allocations: 330.9 kB / 0.8869 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.3757, allocations: 135.8 kB / 0.887 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.377, allocations: 0.9347 MB / 0.8879 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3781, allocations: 179.2 kB / 0.8881 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.3782, allocations: 27.98 kB / 0.8881 GB, free: 3.461 MB / 0.7012 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.0005439/0.3787, allocations: 353 kB / 0.8885 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.379, allocations: 110.7 kB / 0.8886 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.3825, allocations: 1.252 MB / 0.8898 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.3826, allocations: 4 kB / 0.8898 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3826, allocations: 0 / 0.8898 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3826, allocations: 3.984 kB / 0.8898 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.3878, allocations: 2.35 MB / 0.8921 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3879, allocations: 3.938 kB / 0.8921 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.3882, allocations: 84.16 kB / 0.8922 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.3892, allocations: 320.6 kB / 0.8925 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.3893, allocations: 23.94 kB / 0.8925 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.391, allocations: 0.966 MB / 0.8935 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.391, allocations: 7.938 kB / 0.8935 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.3949, allocations: 1.31 MB / 0.8947 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009246/0.3959, allocations: 295.3 kB / 0.895 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003992/0.3963, allocations: 12 kB / 0.895 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.3975, allocations: 111.8 kB / 0.8951 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3977, allocations: 43.33 kB / 0.8952 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.073e-05/0.3978, allocations: 27.97 kB / 0.8952 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001883/0.3997, allocations: 0.7313 MB / 0.8959 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.01e-07/0.3997, allocations: 7.938 kB / 0.8959 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002004/0.4017, allocations: 0.5653 MB / 0.8965 GB, free: 10.7 MB / 0.7169 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.004643/0.4063, allocations: 2.133 MB / 0.8986 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003211/0.4096, allocations: 1.21 MB / 0.8998 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4096, allocations: 4.188 kB / 0.8998 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.4105, allocations: 398.5 kB / 0.9001 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.4131, allocations: 0.5238 MB / 0.9006 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.4292, allocations: 6.947 MB / 0.9074 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.43, allocations: 1.066 MB / 0.9085 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001155/0.4312, allocations: 240.7 kB / 0.9087 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/0.4318, allocations: 415.2 kB / 0.9091 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/0.4318, allocations: 4 kB / 0.9091 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5052/0.9371, allocations: 34.14 MB / 0.9424 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.9373, allocations: 253.3 kB / 0.9427 GB, free: 127.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.573, allocations: 0 / 0.9427 GB, free: 127.8 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: