Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.792/2.792, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 182.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 92.75 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006483/0.0006485, allocations: 16.62 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2253, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.08177/0.3071, allocations: 51.39 MB / 1.028 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02397/0.3312, allocations: 10.24 MB / 1.038 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.3335, allocations: 47.62 kB / 1.039 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.3369, allocations: 0.6297 MB / 1.039 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008906/0.3459, allocations: 1.906 MB / 1.041 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006541/0.3525, allocations: 1.32 MB / 1.042 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005639/0.3582, allocations: 1.87 MB / 1.044 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.3616, allocations: 0.8108 MB / 1.045 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/0.3652, allocations: 0.9926 MB / 1.046 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.367, allocations: 0.6144 MB / 1.046 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.3673, allocations: 44 kB / 1.047 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/0.371, allocations: 0.9868 MB / 1.047 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004703/0.3715, allocations: 203.1 kB / 1.048 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006705/0.3722, allocations: 289 kB / 1.048 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.3761, allocations: 1.602 MB / 1.05 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3761, allocations: 0 / 1.05 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3761, allocations: 0 / 1.05 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.447e-05/0.3762, allocations: 0 / 1.05 GB, free: 3.172 MB / 0.6667 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.004812/0.381, allocations: 1.512 MB / 1.051 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.3811, allocations: 8.031 kB / 1.051 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004019/0.3815, allocations: 126.8 kB / 1.051 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/0.3855, allocations: 477.9 kB / 1.052 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.389, allocations: 1.063 MB / 1.053 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006818/0.3897, allocations: 133.9 kB / 1.053 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.39, allocations: 80 kB / 1.053 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.3937, allocations: 1.015 MB / 1.054 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.3938, allocations: 3.938 kB / 1.054 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.394, allocations: 36 kB / 1.054 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.394, allocations: 20 kB / 1.054 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004737/0.3988, allocations: 0.9641 MB / 1.055 GB, free: 13.59 MB / 0.6823 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.01163/0.4104, allocations: 4.666 MB / 1.059 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00683/0.4173, allocations: 0.9694 MB / 1.06 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009383/0.4183, allocations: 0.899 MB / 1.061 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.4184, allocations: 39 kB / 1.061 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/0.4184, allocations: 0 / 1.061 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.01707/0.4355, allocations: 2.248 MB / 1.063 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.4356, allocations: 59.78 kB / 1.063 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.4383, allocations: 1.075 MB / 1.065 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.4385, allocations: 45.69 kB / 1.065 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006614/0.4392, allocations: 0.5236 MB / 1.065 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.4395, allocations: 165.5 kB / 1.065 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.4396, allocations: 16 kB / 1.065 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4397, allocations: 326 kB / 1.066 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.4416, allocations: 356.9 kB / 1.066 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.4438, allocations: 0.5546 MB / 1.066 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.4458, allocations: 388.5 kB / 1.067 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.4458, allocations: 0 / 1.067 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.624/1.07, allocations: 1.1 MB / 1.068 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003974/1.07, allocations: 1.496 MB / 1.069 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.07, allocations: 8.625 kB / 1.069 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/1.073, allocations: 331.7 kB / 1.07 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.074, allocations: 146.7 kB / 1.07 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/1.077, allocations: 0.9342 MB / 1.071 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/1.079, allocations: 201 kB / 1.071 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.08, allocations: 33 kB / 1.071 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.08, allocations: 6.375 kB / 1.071 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005104/1.085, allocations: 0.9787 MB / 1.072 GB, free: 88.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.085, allocations: 5.562 kB / 1.072 GB, free: 88.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/1.087, allocations: 320.9 kB / 1.072 GB, free: 88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.088, allocations: 146.8 kB / 1.072 GB, free: 87.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/1.091, allocations: 0.9324 MB / 1.073 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/1.093, allocations: 182.8 kB / 1.073 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/1.093, allocations: 30.14 kB / 1.073 GB, free: 87.34 MB / 0.6823 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 (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.000827/1.094, allocations: 359 kB / 1.074 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/1.095, allocations: 111.2 kB / 1.074 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007845/1.102, allocations: 1.313 MB / 1.075 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/1.102, allocations: 7.484 kB / 1.075 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.187e-05/1.103, allocations: 0.5156 kB / 1.075 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/1.103, allocations: 2.766 kB / 1.075 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/1.113, allocations: 2.395 MB / 1.078 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/1.113, allocations: 4.781 kB / 1.078 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/1.114, allocations: 89.28 kB / 1.078 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/1.116, allocations: 329 kB / 1.078 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/1.116, allocations: 21.12 kB / 1.078 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/1.119, allocations: 0.9647 MB / 1.079 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.119, allocations: 2.812 kB / 1.079 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007682/1.127, allocations: 1.475 MB / 1.08 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.128, allocations: 291.8 kB / 1.081 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/1.128, allocations: 14.08 kB / 1.081 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.13, allocations: 118.9 kB / 1.081 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/1.13, allocations: 43.58 kB / 1.081 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.131, allocations: 28.19 kB / 1.081 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002327/1.133, allocations: 0.7495 MB / 1.082 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.71e-07/1.133, allocations: 0 / 1.082 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003051/1.136, allocations: 0.5762 MB / 1.082 GB, free: 83.54 MB / 0.6823 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.009025/1.145, allocations: 2.899 MB / 1.085 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006844/1.152, allocations: 1.276 MB / 1.086 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.152, allocations: 0 / 1.086 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/1.154, allocations: 414.9 kB / 1.087 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004836/1.159, allocations: 0.5026 MB / 1.087 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/1.171, allocations: 5.694 MB / 1.093 GB, free: 76.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/1.172, allocations: 1.093 MB / 1.094 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001936/1.174, allocations: 239.3 kB / 1.094 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009638/1.175, allocations: 420 kB / 1.094 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/1.175, allocations: 0 / 1.094 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09966/1.275, allocations: 33.96 MB / 1.128 GB, free: 57.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/1.275, allocations: 272.2 kB / 1.128 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.957/5.232, allocations: 0 / 1.128 GB, free: 57.41 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)