Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.00196/0.001961, 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.002112/0.002112, allocations: 192.9 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.217/1.217, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.433/2.433, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 75.23 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2338, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05617/0.29, allocations: 61.22 MB / 1.124 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.3044, allocations: 12 MB / 1.136 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007516/0.3051, allocations: 59.62 kB / 1.136 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.3064, allocations: 0.6792 MB / 1.136 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.3097, allocations: 1.961 MB / 1.138 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.3118, allocations: 1.195 MB / 1.139 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002817/0.3146, allocations: 3.079 MB / 1.142 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.3159, allocations: 1.096 MB / 1.143 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.3179, allocations: 1.33 MB / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009686/0.3189, allocations: 0.8944 MB / 1.146 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.3191, allocations: 116 kB / 1.146 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.3211, allocations: 1.458 MB / 1.147 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.3214, allocations: 290.9 kB / 1.147 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.322, allocations: 0.6958 MB / 1.148 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.3244, allocations: 2.275 MB / 1.15 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3244, allocations: 0 / 1.15 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3244, allocations: 0 / 1.15 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.3244, allocations: 4 kB / 1.15 GB, free: 5.523 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.002558/0.327, allocations: 1.728 MB / 1.152 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.327, allocations: 11.97 kB / 1.152 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.3271, allocations: 126.9 kB / 1.152 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.3287, allocations: 343 kB / 1.152 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.3304, allocations: 1.101 MB / 1.154 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/0.3307, allocations: 117.9 kB / 1.154 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3309, allocations: 84 kB / 1.154 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.3325, allocations: 0.9742 MB / 1.155 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3326, allocations: 0 / 1.155 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.3326, allocations: 32 kB / 1.155 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.3327, allocations: 20 kB / 1.155 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.3346, allocations: 0.8118 MB / 1.156 GB, free: 0 / 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.005623/0.3402, allocations: 5.172 MB / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.3417, allocations: 0.5774 MB / 1.161 GB, free: 9.863 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.3423, allocations: 272.7 kB / 1.161 GB, free: 9.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.3436, allocations: 1.369 MB / 1.163 GB, free: 7.93 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3437, allocations: 42.44 kB / 1.163 GB, free: 7.879 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.3437, allocations: 0 / 1.163 GB, free: 7.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.006352/0.35, allocations: 1.673 MB / 1.164 GB, free: 6.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.3501, allocations: 59.41 kB / 1.165 GB, free: 6.105 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.3514, allocations: 1.068 MB / 1.166 GB, free: 5.023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.3515, allocations: 37.7 kB / 1.166 GB, free: 4.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.3519, allocations: 0.5389 MB / 1.166 GB, free: 4.438 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.352, allocations: 153.8 kB / 1.166 GB, free: 4.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.3522, allocations: 130.2 kB / 1.166 GB, free: 4.152 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3524, allocations: 333.9 kB / 1.167 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007348/0.3531, allocations: 283.3 kB / 1.167 GB, free: 3.539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/0.354, allocations: 0.5009 MB / 1.167 GB, free: 2.941 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.3554, allocations: 0.6713 MB / 1.168 GB, free: 2.203 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3554, allocations: 3.938 kB / 1.168 GB, free: 2.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002294/0.3577, allocations: 0.9695 MB / 1.169 GB, free: 1.219 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3578, allocations: 4 kB / 1.169 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3578, allocations: 8 kB / 1.169 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.359, allocations: 316.6 kB / 1.169 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.3594, allocations: 123.8 kB / 1.169 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.3609, allocations: 0.909 MB / 1.17 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/0.3618, allocations: 151.2 kB / 1.171 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.3619, allocations: 31.98 kB / 1.171 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009775/0.3628, allocations: 493.2 kB / 1.171 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009191/0.3638, allocations: 0.497 MB / 1.172 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001386/0.3652, allocations: 0.6549 MB / 1.172 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.3652, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002282/0.3675, allocations: 0.9733 MB / 1.173 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.3675, allocations: 5.406 kB / 1.173 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3675, allocations: 8 kB / 1.173 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009943/0.3685, allocations: 304.7 kB / 1.173 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.3689, allocations: 119.8 kB / 1.174 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.3703, allocations: 0.9093 MB / 1.174 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/0.3712, allocations: 131.6 kB / 1.175 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.3713, allocations: 35.98 kB / 1.175 GB, free: 11.35 MB / 0.9356 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.000168/0.3715, allocations: 216.1 kB / 1.175 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.3716, allocations: 110.6 kB / 1.175 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.3745, allocations: 1.028 MB / 1.176 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3745, allocations: 11.98 kB / 1.176 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3745, allocations: 4 kB / 1.176 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3745, allocations: 0 / 1.176 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/0.3789, allocations: 2.079 MB / 1.178 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3789, allocations: 288 / 1.178 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.3791, allocations: 59.91 kB / 1.178 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009011/0.38, allocations: 308.4 kB / 1.178 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.38, allocations: 16 kB / 1.178 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.3814, allocations: 0.9366 MB / 1.179 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3815, allocations: 8.047 kB / 1.179 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.3846, allocations: 1.128 MB / 1.18 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.3849, allocations: 259.5 kB / 1.181 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.385, allocations: 12 kB / 1.181 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.3857, allocations: 63.92 kB / 1.181 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.3858, allocations: 35.89 kB / 1.181 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.3858, allocations: 19.98 kB / 1.181 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001029/0.3869, allocations: 0.759 MB / 1.181 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3869, allocations: 0 / 1.181 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001206/0.3881, allocations: 0.577 MB / 1.182 GB, free: 3.539 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 (33): * Single equations (assignments): 28 * 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.003996/0.3921, allocations: 1.939 MB / 1.184 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002546/0.3946, allocations: 1.061 MB / 1.185 GB, free: 500 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3946, allocations: 0 / 1.185 GB, free: 500 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007131/0.3954, allocations: 327.7 kB / 1.185 GB, free: 172 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.3973, allocations: 0.5039 MB / 1.186 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.4107, allocations: 8.547 MB / 1.194 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.4113, allocations: 1.061 MB / 1.195 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006876/0.412, allocations: 224 kB / 1.195 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.4125, allocations: 419.2 kB / 1.196 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of SimCode: time 1.91e-07/0.4125, allocations: 0 / 1.196 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.225/2.638, allocations: 33.54 MB / 1.228 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/16.12, allocations: 11.81 kB / 1.228 GB, free: 3.867 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)