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.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.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.001542/0.001542, 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.001696/0.001697, allocations: 195.8 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 70.94 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2233, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05517/0.2785, allocations: 61.23 MB / 1.113 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.2931, allocations: 12 MB / 1.124 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.2945, allocations: 59.62 kB / 1.124 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.2961, allocations: 0.6791 MB / 1.125 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.3002, allocations: 1.974 MB / 1.127 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.3026, allocations: 1.183 MB / 1.128 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.3057, allocations: 3.075 MB / 1.131 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.3071, allocations: 1.104 MB / 1.132 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.3095, allocations: 1.325 MB / 1.134 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.3107, allocations: 0.8906 MB / 1.134 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.3109, allocations: 119.9 kB / 1.135 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.3132, allocations: 1.474 MB / 1.136 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.3135, allocations: 290.9 kB / 1.136 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007396/0.3143, allocations: 0.7036 MB / 1.137 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.3169, allocations: 2.294 MB / 1.139 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3169, allocations: 0 / 1.139 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3169, allocations: 0 / 1.139 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.534e-05/0.317, allocations: 0 / 1.139 GB, free: 15.64 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.002835/0.3198, allocations: 1.726 MB / 1.141 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3199, allocations: 12.62 kB / 1.141 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.32, allocations: 126.9 kB / 1.141 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.3216, allocations: 347 kB / 1.141 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.3233, allocations: 1.105 MB / 1.142 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/0.3237, allocations: 125.9 kB / 1.143 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.3238, allocations: 76 kB / 1.143 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.3254, allocations: 0.9802 MB / 1.144 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3255, allocations: 7.938 kB / 1.144 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.3255, allocations: 32 kB / 1.144 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.3256, allocations: 20 kB / 1.144 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.3274, allocations: 0.8079 MB / 1.144 GB, free: 10.11 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.005369/0.3328, allocations: 5.168 MB / 1.149 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.3343, allocations: 0.5885 MB / 1.15 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/0.3349, allocations: 268.7 kB / 1.15 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.3362, allocations: 1.373 MB / 1.152 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3362, allocations: 42.5 kB / 1.152 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.844e-06/0.3362, allocations: 0 / 1.152 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.005714/0.3419, allocations: 1.548 MB / 1.153 GB, free: 420 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.342, allocations: 55.41 kB / 1.153 GB, free: 352 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.3433, allocations: 1.076 MB / 1.154 GB, free: 15.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.3434, allocations: 37.7 kB / 1.154 GB, free: 15.21 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.3438, allocations: 0.5311 MB / 1.155 GB, free: 14.67 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3439, allocations: 157.7 kB / 1.155 GB, free: 14.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.3441, allocations: 130.2 kB / 1.155 GB, free: 14.39 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3442, allocations: 330 kB / 1.155 GB, free: 14.06 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007492/0.345, allocations: 291.2 kB / 1.156 GB, free: 13.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009053/0.3459, allocations: 0.4922 MB / 1.156 GB, free: 13.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.3473, allocations: 0.6628 MB / 1.157 GB, free: 12.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3473, allocations: 4 kB / 1.157 GB, free: 12.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002307/0.3497, allocations: 0.977 MB / 1.158 GB, free: 11.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3497, allocations: 4 kB / 1.158 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3497, allocations: 8 kB / 1.158 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.3509, allocations: 322.2 kB / 1.158 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.3514, allocations: 127.8 kB / 1.158 GB, free: 11.01 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.3528, allocations: 0.9036 MB / 1.159 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009855/0.3538, allocations: 151.2 kB / 1.159 GB, free: 9.934 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.3538, allocations: 31.98 kB / 1.159 GB, free: 9.902 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009673/0.3548, allocations: 0.4908 MB / 1.16 GB, free: 9.41 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008539/0.3557, allocations: 496 kB / 1.16 GB, free: 8.836 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001343/0.357, allocations: 0.6502 MB / 1.161 GB, free: 8.121 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.357, allocations: 0 / 1.161 GB, free: 8.121 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002201/0.3592, allocations: 0.9617 MB / 1.162 GB, free: 7.148 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3593, allocations: 11.94 kB / 1.162 GB, free: 7.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3593, allocations: 7.938 kB / 1.162 GB, free: 7.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3603, allocations: 307.1 kB / 1.162 GB, free: 6.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.3608, allocations: 123.8 kB / 1.162 GB, free: 6.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.3621, allocations: 0.9152 MB / 1.163 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/0.3631, allocations: 128.8 kB / 1.163 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.3632, allocations: 31.98 kB / 1.163 GB, free: 5.609 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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.0001773/0.3633, allocations: 224 kB / 1.164 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.3635, allocations: 110.6 kB / 1.164 GB, free: 5.273 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.3656, allocations: 0.9088 MB / 1.165 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3656, allocations: 4 kB / 1.165 GB, free: 4.344 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.3656, allocations: 7.984 kB / 1.165 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3656, allocations: 0 / 1.165 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.3709, allocations: 2.222 MB / 1.167 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3709, allocations: 4.281 kB / 1.167 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.3711, allocations: 55.95 kB / 1.167 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009217/0.372, allocations: 309.8 kB / 1.167 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.372, allocations: 19.94 kB / 1.167 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.3734, allocations: 0.9463 MB / 1.168 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3734, allocations: 4 kB / 1.168 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003937/0.3774, allocations: 1.248 MB / 1.169 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.3777, allocations: 259.5 kB / 1.169 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3778, allocations: 12 kB / 1.169 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/0.3785, allocations: 67.86 kB / 1.17 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.3786, allocations: 43.89 kB / 1.17 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.3786, allocations: 19.98 kB / 1.17 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009891/0.3796, allocations: 0.759 MB / 1.17 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.3796, allocations: 0 / 1.17 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001274/0.3809, allocations: 0.5809 MB / 1.171 GB, free: 13.61 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.004115/0.385, allocations: 1.988 MB / 1.173 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002681/0.3877, allocations: 1.077 MB / 1.174 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3878, allocations: 0 / 1.174 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.3885, allocations: 319.5 kB / 1.174 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.3906, allocations: 0.5062 MB / 1.175 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.4032, allocations: 8.412 MB / 1.183 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.4038, allocations: 1.061 MB / 1.184 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007644/0.4046, allocations: 228.8 kB / 1.184 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.405, allocations: 419.2 kB / 1.185 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.4051, allocations: 0 / 1.185 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5442/0.9492, allocations: 33.74 MB / 1.218 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.29, allocations: 3.953 kB / 1.218 GB, free: 13.78 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)