Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_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.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.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_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.001329/0.001329, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.002266/0.002266, allocations: 172.9 kB / 16.27 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.21/1.21, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.294/2.294, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004045, allocations: 12.02 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2288, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.0496/0.2784, allocations: 59.78 MB / 1.117 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.2916, allocations: 11.92 MB / 1.129 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.293, allocations: 51.69 kB / 1.129 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.2942, allocations: 0.5476 MB / 1.129 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.298, allocations: 1.804 MB / 1.131 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.3002, allocations: 1.071 MB / 1.132 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003644/0.3039, allocations: 3.902 MB / 1.136 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.3051, allocations: 0.9019 MB / 1.137 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.3069, allocations: 1.124 MB / 1.138 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.308, allocations: 0.8515 MB / 1.139 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.3081, allocations: 40 kB / 1.139 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.3102, allocations: 1.364 MB / 1.14 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.3104, allocations: 222.8 kB / 1.14 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.311, allocations: 0.6234 MB / 1.141 GB, free: 404 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.3129, allocations: 2.227 MB / 1.143 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.313, allocations: 4 kB / 1.143 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.242e-06/0.313, allocations: 0 / 1.143 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.313, allocations: 0 / 1.143 GB, free: 14.16 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.002136/0.3151, allocations: 1.489 MB / 1.145 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3152, allocations: 15.97 kB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.3153, allocations: 126.9 kB / 1.145 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.3168, allocations: 383 kB / 1.145 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.3184, allocations: 1.128 MB / 1.146 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.3188, allocations: 125.9 kB / 1.146 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.3189, allocations: 84 kB / 1.146 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.3205, allocations: 0.97 MB / 1.147 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3205, allocations: 4 kB / 1.147 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.3206, allocations: 35.94 kB / 1.147 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.3206, allocations: 20 kB / 1.147 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3225, allocations: 0.847 MB / 1.148 GB, free: 8.773 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.005009/0.3275, allocations: 4.811 MB / 1.153 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.3289, allocations: 0.6023 MB / 1.154 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.3295, allocations: 290.3 kB / 1.154 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.3307, allocations: 1.396 MB / 1.155 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3308, allocations: 38.5 kB / 1.155 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.422e-06/0.3308, allocations: 4 kB / 1.155 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.005441/0.3362, allocations: 1.688 MB / 1.157 GB, free: 15.24 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3363, allocations: 55.41 kB / 1.157 GB, free: 15.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.3375, allocations: 1.063 MB / 1.158 GB, free: 14.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.3376, allocations: 37.7 kB / 1.158 GB, free: 14.05 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.338, allocations: 0.5197 MB / 1.159 GB, free: 13.53 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/0.3381, allocations: 149.8 kB / 1.159 GB, free: 13.38 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.3382, allocations: 49.69 kB / 1.159 GB, free: 13.33 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.3383, allocations: 330 kB / 1.159 GB, free: 13 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.339, allocations: 285 kB / 1.159 GB, free: 12.72 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008539/0.3398, allocations: 499.7 kB / 1.16 GB, free: 12.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.3412, allocations: 0.6538 MB / 1.16 GB, free: 11.45 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3412, allocations: 7.938 kB / 1.16 GB, free: 11.44 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00211/0.3433, allocations: 0.9806 MB / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.927e-05/0.3434, allocations: 203.5 kB / 1.162 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3434, allocations: 4 kB / 1.162 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3446, allocations: 336.6 kB / 1.162 GB, free: 9.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.345, allocations: 119.8 kB / 1.162 GB, free: 9.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.3463, allocations: 0.9426 MB / 1.163 GB, free: 8.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.3473, allocations: 179.2 kB / 1.163 GB, free: 8.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.3474, allocations: 27.98 kB / 1.163 GB, free: 8.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/0.3474, allocations: 7.938 kB / 1.163 GB, free: 8.562 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001986/0.3494, allocations: 0.8397 MB / 1.164 GB, free: 7.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3494, allocations: 7.938 kB / 1.164 GB, free: 7.711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.3504, allocations: 331.2 kB / 1.164 GB, free: 7.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.3508, allocations: 115.8 kB / 1.164 GB, free: 7.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.3521, allocations: 0.9348 MB / 1.165 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/0.353, allocations: 153.3 kB / 1.165 GB, free: 6.164 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.353, allocations: 27.98 kB / 1.165 GB, free: 6.137 MB / 0.92 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 (51): * Single equations (assignments): 50 * 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.0003365/0.3534, allocations: 360.8 kB / 1.166 GB, free: 5.773 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.3535, allocations: 110.6 kB / 1.166 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.3555, allocations: 0.9555 MB / 1.167 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.3556, allocations: 4 kB / 1.167 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3556, allocations: 0 / 1.167 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3556, allocations: 3.984 kB / 1.167 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/0.3607, allocations: 2.335 MB / 1.169 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3607, allocations: 0 / 1.169 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.3609, allocations: 55.91 kB / 1.169 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009451/0.3619, allocations: 334.5 kB / 1.17 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.3619, allocations: 19.98 kB / 1.17 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.3632, allocations: 0.9673 MB / 1.17 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3632, allocations: 4.031 kB / 1.17 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003831/0.3671, allocations: 1.365 MB / 1.172 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.3674, allocations: 275.4 kB / 1.172 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3675, allocations: 15.94 kB / 1.172 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007578/0.3683, allocations: 99.81 kB / 1.172 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.3683, allocations: 35.89 kB / 1.172 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.3684, allocations: 23.98 kB / 1.172 GB, free: 15 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009282/0.3693, allocations: 0.7508 MB / 1.173 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3693, allocations: 0 / 1.173 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001144/0.3705, allocations: 0.5731 MB / 1.174 GB, free: 13.67 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.004017/0.3745, allocations: 2.075 MB / 1.176 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.3769, allocations: 1.067 MB / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3769, allocations: 4.062 kB / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.3776, allocations: 334.8 kB / 1.177 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/0.38, allocations: 0.5063 MB / 1.177 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.394, allocations: 8.754 MB / 1.186 GB, free: 464 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.3945, allocations: 1.065 MB / 1.187 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006813/0.3952, allocations: 220.6 kB / 1.187 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.3956, allocations: 407.3 kB / 1.188 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.3957, allocations: 0 / 1.188 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.267/1.662, allocations: 32.43 MB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/1.663, allocations: 277.7 kB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/4.334, allocations: 0 / 1.22 GB, free: 14.4 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)