Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_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.001759/0.001759, allocations: 108 kB / 15.6 MB, free: 132 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.001819/0.001819, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.498/2.498, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 72.31 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2418, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05249/0.2943, allocations: 61.25 MB / 1.113 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.3103, allocations: 12 MB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.312, allocations: 59.62 kB / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.3138, allocations: 0.6752 MB / 1.125 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.3187, allocations: 1.97 MB / 1.127 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.3218, allocations: 1.196 MB / 1.128 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004308/0.3261, allocations: 3.072 MB / 1.131 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.3275, allocations: 1.108 MB / 1.132 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.3299, allocations: 1.326 MB / 1.134 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.3312, allocations: 0.8906 MB / 1.134 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.3314, allocations: 116 kB / 1.135 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.3337, allocations: 1.454 MB / 1.136 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.334, allocations: 298.8 kB / 1.136 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007285/0.3347, allocations: 0.692 MB / 1.137 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.3374, allocations: 2.275 MB / 1.139 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3374, allocations: 4 kB / 1.139 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3374, allocations: 0 / 1.139 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.602e-05/0.3375, allocations: 0 / 1.139 GB, free: 15.6 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002922/0.3404, allocations: 1.726 MB / 1.141 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3405, allocations: 8.625 kB / 1.141 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.3407, allocations: 122.9 kB / 1.141 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.3441, allocations: 406.8 kB / 1.141 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.3461, allocations: 1.109 MB / 1.142 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.3465, allocations: 125.9 kB / 1.143 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.3466, allocations: 80 kB / 1.143 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3483, allocations: 1.002 MB / 1.144 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.3484, allocations: 3.938 kB / 1.144 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.3485, allocations: 32 kB / 1.144 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.3485, allocations: 20 kB / 1.144 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.3506, allocations: 0.8742 MB / 1.145 GB, free: 9.922 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.005536/0.3562, allocations: 5.282 MB / 1.15 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/0.3594, allocations: 0.7931 MB / 1.15 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/0.3601, allocations: 305.4 kB / 1.151 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007176/0.3608, allocations: 0.9025 MB / 1.152 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.3609, allocations: 42.5 kB / 1.152 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.374e-06/0.3609, allocations: 0 / 1.152 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.009391/0.3703, allocations: 1.93 MB / 1.154 GB, free: 44 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3703, allocations: 59.36 kB / 1.154 GB, free: 15.97 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3717, allocations: 1.076 MB / 1.155 GB, free: 14.88 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.3717, allocations: 33.7 kB / 1.155 GB, free: 14.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.3721, allocations: 0.5273 MB / 1.155 GB, free: 14.31 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3722, allocations: 161.7 kB / 1.155 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.3724, allocations: 134.2 kB / 1.156 GB, free: 14.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.3725, allocations: 334 kB / 1.156 GB, free: 13.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008403/0.3733, allocations: 307.3 kB / 1.156 GB, free: 13.38 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009859/0.3743, allocations: 0.5368 MB / 1.157 GB, free: 12.74 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.3759, allocations: 0.7221 MB / 1.157 GB, free: 11.95 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3759, allocations: 4 kB / 1.157 GB, free: 11.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003373/0.3793, allocations: 1.172 MB / 1.159 GB, free: 10.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3793, allocations: 5.406 kB / 1.159 GB, free: 10.76 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.3794, allocations: 8 kB / 1.159 GB, free: 10.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.3806, allocations: 316.6 kB / 1.159 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.3811, allocations: 135.7 kB / 1.159 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.3825, allocations: 0.9133 MB / 1.16 GB, free: 9.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.3835, allocations: 163.2 kB / 1.16 GB, free: 9.211 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/0.3836, allocations: 35.92 kB / 1.16 GB, free: 9.176 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001392/0.385, allocations: 0.5129 MB / 1.161 GB, free: 8.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001694/0.3867, allocations: 0.5329 MB / 1.161 GB, free: 8.031 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002359/0.3891, allocations: 0.7096 MB / 1.162 GB, free: 7.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.085e-06/0.3891, allocations: 7.984 kB / 1.162 GB, free: 7.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003365/0.3925, allocations: 1.153 MB / 1.163 GB, free: 6.082 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3925, allocations: 8 kB / 1.163 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3925, allocations: 4 kB / 1.163 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.3936, allocations: 308.7 kB / 1.163 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.3941, allocations: 127.8 kB / 1.163 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.3954, allocations: 0.9215 MB / 1.164 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.3965, allocations: 141.7 kB / 1.164 GB, free: 4.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.3966, allocations: 43.97 kB / 1.164 GB, free: 4.516 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0001705/0.3968, allocations: 216.1 kB / 1.165 GB, free: 4.297 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.397, allocations: 114.5 kB / 1.165 GB, free: 4.184 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.4005, allocations: 1.114 MB / 1.166 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4005, allocations: 4 kB / 1.166 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4005, allocations: 0 / 1.166 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4006, allocations: 3.984 kB / 1.166 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/0.4053, allocations: 2.187 MB / 1.168 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4053, allocations: 0 / 1.168 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.4056, allocations: 63.89 kB / 1.168 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009664/0.4065, allocations: 316.7 kB / 1.168 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.4066, allocations: 16 kB / 1.168 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.4079, allocations: 0.9374 MB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.408, allocations: 4 kB / 1.169 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004999/0.413, allocations: 1.197 MB / 1.17 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.4133, allocations: 263.5 kB / 1.171 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.4135, allocations: 12 kB / 1.171 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007844/0.4143, allocations: 75.91 kB / 1.171 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.4144, allocations: 43.81 kB / 1.171 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.4144, allocations: 23.98 kB / 1.171 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001003/0.4154, allocations: 0.759 MB / 1.172 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4154, allocations: 3.938 kB / 1.172 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001336/0.4168, allocations: 0.5614 MB / 1.172 GB, free: 12.41 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.004144/0.4209, allocations: 2.021 MB / 1.174 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002985/0.4239, allocations: 1.164 MB / 1.175 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4239, allocations: 0 / 1.175 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.4248, allocations: 354.5 kB / 1.176 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.4268, allocations: 0.5067 MB / 1.176 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.4429, allocations: 8.759 MB / 1.185 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.4435, allocations: 1.065 MB / 1.186 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008557/0.4444, allocations: 230.8 kB / 1.186 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.4448, allocations: 415.3 kB / 1.186 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.4448, allocations: 0 / 1.186 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.314/5.759, allocations: 33.59 MB / 1.219 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/17.4, allocations: 13.88 kB / 1.219 GB, free: 12.2 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)