Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.0008129/0.0008128, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005758/0.005759, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.524/1.524, allocations: 205.4 MB / 222.4 MB, free: 5.52 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.686/1.686, allocations: 292.7 MB / 0.5502 GB, free: 14.42 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.0005042/0.0005042, allocations: 14.5 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.219, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05612/0.2751, allocations: 59.85 MB / 0.8464 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.2909, allocations: 11.85 MB / 0.858 GB, free: 3.539 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.2927, allocations: 51.62 kB / 0.8581 GB, free: 3.488 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.2942, allocations: 0.5438 MB / 0.8586 GB, free: 2.941 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.299, allocations: 1.796 MB / 0.8603 GB, free: 1.137 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.3022, allocations: 1.098 MB / 0.8614 GB, free: 48 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004728/0.307, allocations: 3.906 MB / 0.8652 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.3083, allocations: 0.9149 MB / 0.8661 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.3104, allocations: 1.131 MB / 0.8672 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.3115, allocations: 0.867 MB / 0.8681 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3116, allocations: 44 kB / 0.8681 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.3141, allocations: 1.333 MB / 0.8694 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.3143, allocations: 214.9 kB / 0.8696 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000624/0.3149, allocations: 0.6427 MB / 0.8702 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.3174, allocations: 2.212 MB / 0.8724 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.3174, allocations: 7.984 kB / 0.8724 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3174, allocations: 0 / 0.8724 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.3174, allocations: 0 / 0.8724 GB, free: 4.707 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002703/0.3201, allocations: 1.516 MB / 0.8739 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3202, allocations: 8.031 kB / 0.8739 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.3204, allocations: 127 kB / 0.874 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.3225, allocations: 474.6 kB / 0.8745 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.3245, allocations: 1.14 MB / 0.8756 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003646/0.3248, allocations: 133.9 kB / 0.8757 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.325, allocations: 80 kB / 0.8758 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.327, allocations: 1.031 MB / 0.8768 GB, free: 52 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3271, allocations: 0 / 0.8768 GB, free: 52 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.3272, allocations: 32 kB / 0.8768 GB, free: 20 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.3272, allocations: 20 kB / 0.8769 GB, free: 0 / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.3297, allocations: 0.9796 MB / 0.8778 GB, free: 15.02 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.006053/0.3358, allocations: 4.65 MB / 0.8823 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003683/0.3395, allocations: 0.9501 MB / 0.8833 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008794/0.3404, allocations: 361.9 kB / 0.8836 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006302/0.341, allocations: 0.899 MB / 0.8845 GB, free: 7.645 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.341, allocations: 42.94 kB / 0.8845 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 1.744e-06/0.341, allocations: 4 kB / 0.8845 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.00914/0.3502, allocations: 2.267 MB / 0.8868 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3502, allocations: 55.84 kB / 0.8868 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.3517, allocations: 1.072 MB / 0.8879 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.3518, allocations: 37.7 kB / 0.8879 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.3522, allocations: 0.5235 MB / 0.8884 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.3524, allocations: 169.6 kB / 0.8886 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.3525, allocations: 45.7 kB / 0.8886 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3526, allocations: 334 kB / 0.8889 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.3536, allocations: 356.9 kB / 0.8893 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.3548, allocations: 0.5602 MB / 0.8898 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.3567, allocations: 0.7761 MB / 0.8906 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.3567, allocations: 4 kB / 0.8906 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003797/0.3605, allocations: 1.28 MB / 0.8918 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.3606, allocations: 201.3 kB / 0.892 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3606, allocations: 7.938 kB / 0.892 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.3619, allocations: 328.5 kB / 0.8923 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.3625, allocations: 151.7 kB / 0.8925 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.3639, allocations: 0.9447 MB / 0.8934 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3652, allocations: 199.8 kB / 0.8936 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.3653, allocations: 39.98 kB / 0.8936 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.3653, allocations: 4 kB / 0.8936 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003468/0.3688, allocations: 1.135 MB / 0.8947 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3688, allocations: 4 kB / 0.8948 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.3699, allocations: 325 kB / 0.8951 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.3705, allocations: 147.8 kB / 0.8952 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.3719, allocations: 0.9341 MB / 0.8961 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.373, allocations: 187.2 kB / 0.8963 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/0.373, allocations: 31.97 kB / 0.8963 GB, free: 11.19 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004664/0.3735, allocations: 345 kB / 0.8967 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3737, allocations: 110.6 kB / 0.8968 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004183/0.3779, allocations: 1.326 MB / 0.8981 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3779, allocations: 4 kB / 0.8981 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3779, allocations: 0 / 0.8981 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3779, allocations: 3.984 kB / 0.8981 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/0.3833, allocations: 2.394 MB / 0.9004 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3833, allocations: 0 / 0.9004 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.3837, allocations: 92.16 kB / 0.9005 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.3847, allocations: 323.7 kB / 0.9008 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.3847, allocations: 19.98 kB / 0.9008 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.3862, allocations: 0.9659 MB / 0.9018 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3862, allocations: 7.938 kB / 0.9018 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/0.3901, allocations: 1.349 MB / 0.9031 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.3905, allocations: 287.4 kB / 0.9034 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3907, allocations: 19.94 kB / 0.9034 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/0.3916, allocations: 119.8 kB / 0.9035 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.3917, allocations: 43.33 kB / 0.9035 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.3917, allocations: 27.97 kB / 0.9036 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001094/0.3928, allocations: 0.7432 MB / 0.9043 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.573e-06/0.3928, allocations: 0 / 0.9043 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001428/0.3943, allocations: 0.5731 MB / 0.9048 GB, free: 2.246 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004868/0.3992, allocations: 2.188 MB / 0.907 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003506/0.4027, allocations: 1.28 MB / 0.9082 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4027, allocations: 256 / 0.9082 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4037, allocations: 426.2 kB / 0.9086 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/0.4065, allocations: 0.5243 MB / 0.9092 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/0.4268, allocations: 9.643 MB / 0.9186 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.4274, allocations: 1.066 MB / 0.9196 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001044/0.4285, allocations: 242.9 kB / 0.9198 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.429, allocations: 415.3 kB / 0.9202 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of SimCode: time 2.043e-06/0.429, allocations: 0 / 0.9202 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4254/0.8545, allocations: 33.12 MB / 0.9526 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.8547, allocations: 283.7 kB / 0.9529 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.35, allocations: 0 / 0.9529 GB, free: 122.8 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)