Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_reverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.001194/0.001194, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.592/2.592, allocations: 469.8 MB / 0.7424 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.73 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2468, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06122/0.3081, allocations: 61.24 MB / 1.124 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.3236, allocations: 12 MB / 1.136 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.3251, allocations: 59.62 kB / 1.136 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.3267, allocations: 0.6752 MB / 1.136 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.3311, allocations: 1.968 MB / 1.138 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.3336, allocations: 1.199 MB / 1.139 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003559/0.3372, allocations: 3.084 MB / 1.142 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.3387, allocations: 1.12 MB / 1.144 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.3413, allocations: 1.318 MB / 1.145 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.3426, allocations: 0.9217 MB / 1.146 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.3429, allocations: 123.9 kB / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.3453, allocations: 1.439 MB / 1.147 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.3456, allocations: 298.8 kB / 1.148 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007781/0.3464, allocations: 0.7036 MB / 1.148 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.3492, allocations: 2.29 MB / 1.15 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3492, allocations: 0 / 1.15 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3492, allocations: 4 kB / 1.15 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.047e-05/0.3493, allocations: 0 / 1.15 GB, free: 5.441 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.002921/0.3522, allocations: 1.735 MB / 1.152 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3522, allocations: 8.031 kB / 1.152 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.3524, allocations: 126.9 kB / 1.152 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.3548, allocations: 454.8 kB / 1.153 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.3566, allocations: 1.116 MB / 1.154 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.3569, allocations: 121.9 kB / 1.154 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.3571, allocations: 80 kB / 1.154 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.3591, allocations: 1.006 MB / 1.155 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3591, allocations: 0 / 1.155 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.3592, allocations: 36 kB / 1.155 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.3592, allocations: 20 kB / 1.155 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.3618, allocations: 0.9485 MB / 1.156 GB, free: 15.64 MB / 0.92 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.005923/0.3678, allocations: 4.719 MB / 1.161 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004092/0.3719, allocations: 1.004 MB / 1.162 GB, free: 9.566 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.373, allocations: 418.3 kB / 1.162 GB, free: 9.156 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.374, allocations: 1.017 MB / 1.163 GB, free: 7.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.374, allocations: 43 kB / 1.163 GB, free: 7.867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 1.733e-06/0.3741, allocations: 0 / 1.163 GB, free: 7.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.009465/0.3835, allocations: 2.228 MB / 1.165 GB, free: 5.605 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.3836, allocations: 55.84 kB / 1.165 GB, free: 5.539 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.3847, allocations: 0.947 MB / 1.166 GB, free: 4.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.3848, allocations: 41.7 kB / 1.166 GB, free: 4.527 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.3852, allocations: 0.4963 MB / 1.167 GB, free: 4.027 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.3854, allocations: 185.3 kB / 1.167 GB, free: 3.844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.3856, allocations: 126.1 kB / 1.167 GB, free: 3.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3857, allocations: 330 kB / 1.167 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3868, allocations: 362.8 kB / 1.168 GB, free: 3.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.388, allocations: 0.5155 MB / 1.168 GB, free: 2.453 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.39, allocations: 0.7619 MB / 1.169 GB, free: 1.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.39, allocations: 0 / 1.169 GB, free: 1.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002823/0.3929, allocations: 1.076 MB / 1.17 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3929, allocations: 9.406 kB / 1.17 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3929, allocations: 4 kB / 1.17 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.3941, allocations: 330.7 kB / 1.17 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.3947, allocations: 127.8 kB / 1.17 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.3962, allocations: 0.9074 MB / 1.171 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.3971, allocations: 139.2 kB / 1.171 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.3971, allocations: 27.98 kB / 1.171 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00127/0.3984, allocations: 0.5557 MB / 1.172 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001154/0.3996, allocations: 0.5195 MB / 1.172 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002/0.4016, allocations: 0.754 MB / 1.173 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.4016, allocations: 0 / 1.173 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002791/0.4044, allocations: 1.061 MB / 1.174 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.4044, allocations: 8 kB / 1.174 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4044, allocations: 4.312 kB / 1.174 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.4055, allocations: 310 kB / 1.175 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.4061, allocations: 127.8 kB / 1.175 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.4076, allocations: 0.9035 MB / 1.176 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009927/0.4086, allocations: 115.6 kB / 1.176 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/0.4086, allocations: 31.98 kB / 1.176 GB, free: 10.5 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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.0002306/0.4089, allocations: 224.1 kB / 1.176 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.409, allocations: 106.7 kB / 1.176 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/0.4135, allocations: 1.33 MB / 1.177 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.4135, allocations: 8 kB / 1.177 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4135, allocations: 0 / 1.177 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4136, allocations: 3.984 kB / 1.177 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005704/0.4193, allocations: 2.42 MB / 1.18 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4193, allocations: 0 / 1.18 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/0.4198, allocations: 99.84 kB / 1.18 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009904/0.4208, allocations: 312.6 kB / 1.18 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.4209, allocations: 15.98 kB / 1.18 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.4223, allocations: 0.9361 MB / 1.181 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.4224, allocations: 7.969 kB / 1.181 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/0.4265, allocations: 1.343 MB / 1.182 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.427, allocations: 279.5 kB / 1.183 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.4271, allocations: 15.94 kB / 1.183 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/0.4279, allocations: 75.91 kB / 1.183 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.428, allocations: 48.31 kB / 1.183 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.4281, allocations: 23.98 kB / 1.183 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008739/0.429, allocations: 0.6635 MB / 1.183 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.429, allocations: 4 kB / 1.183 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001351/0.4303, allocations: 0.5729 MB / 1.184 GB, free: 1.84 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005239/0.4356, allocations: 2.159 MB / 1.186 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003829/0.4394, allocations: 1.354 MB / 1.187 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4394, allocations: 0 / 1.187 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.4407, allocations: 460.8 kB / 1.188 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.4427, allocations: 494.3 kB / 1.188 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.4584, allocations: 8.71 MB / 1.197 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.4591, allocations: 1.066 MB / 1.198 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009347/0.46, allocations: 228.1 kB / 1.198 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/0.4606, allocations: 415.3 kB / 1.198 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.4606, allocations: 4 kB / 1.198 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.358/2.819, allocations: 32.99 MB / 1.231 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.49/21.31, allocations: 6.438 kB / 1.231 GB, free: 2.02 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)