Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_latest_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.0009719/0.0009719, allocations: 98.03 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.00726/0.007261, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 462.6 MB / 0.7364 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 9.875 kB / 0.9029 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2345, allocations: 159.6 MB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05246/0.287, allocations: 59.84 MB / 1.117 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.3012, allocations: 11.94 MB / 1.129 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.3026, allocations: 51.62 kB / 1.129 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.304, allocations: 0.5477 MB / 1.129 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.3081, allocations: 1.807 MB / 1.131 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.3105, allocations: 1.082 MB / 1.132 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003899/0.3145, allocations: 3.914 MB / 1.136 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.3158, allocations: 0.9268 MB / 1.137 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.3177, allocations: 1.127 MB / 1.138 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.3188, allocations: 0.8515 MB / 1.139 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.3189, allocations: 47.88 kB / 1.139 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.321, allocations: 1.325 MB / 1.14 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.3212, allocations: 214.9 kB / 1.14 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005553/0.3217, allocations: 0.635 MB / 1.141 GB, free: 228 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.3238, allocations: 2.2 MB / 1.143 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3239, allocations: 0 / 1.143 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3239, allocations: 0 / 1.143 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.3239, allocations: 0 / 1.143 GB, free: 14.02 MB / 0.9044 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.002397/0.3263, allocations: 1.512 MB / 1.145 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3263, allocations: 15.97 kB / 1.145 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.3265, allocations: 126.9 kB / 1.145 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.3286, allocations: 474.8 kB / 1.145 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.3304, allocations: 1.128 MB / 1.146 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.3308, allocations: 137.8 kB / 1.147 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3309, allocations: 80 kB / 1.147 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.3329, allocations: 1.04 MB / 1.148 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3329, allocations: 0 / 1.148 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/0.333, allocations: 32 kB / 1.148 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.333, allocations: 20 kB / 1.148 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.3355, allocations: 0.9524 MB / 1.149 GB, free: 8.344 MB / 0.9044 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.005608/0.3411, allocations: 4.922 MB / 1.153 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003558/0.3447, allocations: 0.9091 MB / 1.154 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008273/0.3455, allocations: 346.4 kB / 1.155 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/0.3461, allocations: 0.9024 MB / 1.156 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3461, allocations: 34.56 kB / 1.156 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.3461, allocations: 4 kB / 1.156 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.009085/0.3552, allocations: 2.219 MB / 1.158 GB, free: 14.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.3553, allocations: 55.41 kB / 1.158 GB, free: 14.33 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.3566, allocations: 1.067 MB / 1.159 GB, free: 13.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.3567, allocations: 37.7 kB / 1.159 GB, free: 13.21 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.3571, allocations: 0.5273 MB / 1.159 GB, free: 12.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3572, allocations: 161.7 kB / 1.16 GB, free: 12.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.3573, allocations: 41.7 kB / 1.16 GB, free: 12.47 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.3574, allocations: 330 kB / 1.16 GB, free: 12.14 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009782/0.3584, allocations: 348.9 kB / 1.16 GB, free: 11.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.3595, allocations: 0.5529 MB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.3613, allocations: 0.7649 MB / 1.161 GB, free: 10.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3614, allocations: 3.938 kB / 1.161 GB, free: 10.33 MB / 0.92 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002729/0.3641, allocations: 1.086 MB / 1.163 GB, free: 9.234 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3642, allocations: 213.5 kB / 1.163 GB, free: 8.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3642, allocations: 4 kB / 1.163 GB, free: 8.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.3655, allocations: 348.6 kB / 1.163 GB, free: 8.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.3661, allocations: 143.7 kB / 1.163 GB, free: 8.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.3675, allocations: 0.9333 MB / 1.164 GB, free: 7.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3688, allocations: 207.2 kB / 1.164 GB, free: 7.316 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.3689, allocations: 24 kB / 1.164 GB, free: 7.293 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.3689, allocations: 7.984 kB / 1.164 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002588/0.3715, allocations: 0.9603 MB / 1.165 GB, free: 6.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3715, allocations: 4 kB / 1.165 GB, free: 6.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.3726, allocations: 325.1 kB / 1.166 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.3731, allocations: 143.7 kB / 1.166 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.3745, allocations: 0.9309 MB / 1.167 GB, free: 4.898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.3756, allocations: 179.4 kB / 1.167 GB, free: 4.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.3757, allocations: 27.98 kB / 1.167 GB, free: 4.695 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0003903/0.3761, allocations: 360.8 kB / 1.167 GB, free: 4.332 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3762, allocations: 110.6 kB / 1.167 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.3803, allocations: 1.247 MB / 1.169 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3803, allocations: 4 kB / 1.169 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3803, allocations: 7.938 kB / 1.169 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3803, allocations: 3.984 kB / 1.169 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005188/0.3855, allocations: 2.335 MB / 1.171 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3856, allocations: 4 kB / 1.171 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.3859, allocations: 76.17 kB / 1.171 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.3869, allocations: 332.4 kB / 1.171 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.3869, allocations: 15.98 kB / 1.171 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.3884, allocations: 0.9641 MB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3884, allocations: 4.031 kB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/0.3923, allocations: 1.321 MB / 1.173 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.3926, allocations: 279.5 kB / 1.174 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.3927, allocations: 12 kB / 1.174 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.3937, allocations: 131.7 kB / 1.174 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.3938, allocations: 39.89 kB / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.3938, allocations: 27.98 kB / 1.174 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00102/0.3949, allocations: 0.7509 MB / 1.175 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3949, allocations: 0 / 1.175 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001281/0.3962, allocations: 0.5652 MB / 1.175 GB, free: 11.93 MB / 0.9356 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 (34): * Single equations (assignments): 29 * 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.004662/0.4008, allocations: 2.124 MB / 1.177 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003222/0.4041, allocations: 1.231 MB / 1.179 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4041, allocations: 4 kB / 1.179 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009681/0.4051, allocations: 398.9 kB / 1.179 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.4077, allocations: 0.5116 MB / 1.179 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/0.4257, allocations: 9.355 MB / 1.189 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.4263, allocations: 1.069 MB / 1.19 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008045/0.4271, allocations: 216.7 kB / 1.19 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.4276, allocations: 418.2 kB / 1.19 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of SimCode: time 4.1e-07/0.4276, allocations: 4 kB / 1.19 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.229/2.657, allocations: 32.4 MB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/2.657, allocations: 287.8 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/5.672, allocations: 1.719 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)