Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_y_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_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.0009472/0.0009474, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005378/0.005378, allocations: 173.9 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.493/1.493, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004267, allocations: 14.16 kB / 0.6744 GB, free: 25.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1563, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.05488/0.2112, allocations: 73.46 MB / 0.8597 GB, free: 1.793 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.2243, allocations: 12.56 MB / 0.872 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009662/0.2253, allocations: 55.62 kB / 0.872 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.2266, allocations: 0.6681 MB / 0.8727 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.2303, allocations: 2.259 MB / 0.8749 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.2325, allocations: 1.278 MB / 0.8762 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00408/0.2366, allocations: 5.515 MB / 0.8815 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.2378, allocations: 1.143 MB / 0.8827 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.2393, allocations: 1.314 MB / 0.8839 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.2404, allocations: 1.131 MB / 0.885 GB, free: 7.777 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.2405, allocations: 56 kB / 0.8851 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.2423, allocations: 1.259 MB / 0.8863 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.2425, allocations: 282.7 kB / 0.8866 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006021/0.2431, allocations: 0.8061 MB / 0.8874 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.2453, allocations: 2.734 MB / 0.8901 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2453, allocations: 4 kB / 0.8901 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2453, allocations: 0 / 0.8901 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.2453, allocations: 0 / 0.8901 GB, free: 2.621 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002521/0.2479, allocations: 1.779 MB / 0.8918 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.2479, allocations: 12.03 kB / 0.8918 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.2481, allocations: 152.1 kB / 0.892 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006261/0.2487, allocations: 238.8 kB / 0.8922 GB, free: 384 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.2505, allocations: 1.484 MB / 0.8936 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.2506, allocations: 78 kB / 0.8937 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.2507, allocations: 100 kB / 0.8938 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.2524, allocations: 1.124 MB / 0.8949 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2524, allocations: 0 / 0.8949 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.78e-05/0.2525, allocations: 40 kB / 0.8949 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.2525, allocations: 27.94 kB / 0.895 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.2541, allocations: 0.9252 MB / 0.8959 GB, free: 12.52 MB / 0.7169 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.00445/0.2586, allocations: 4.934 MB / 0.9007 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.2598, allocations: 0.6506 MB / 0.9013 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.2604, allocations: 374.3 kB / 0.9017 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/0.2609, allocations: 0.8238 MB / 0.9025 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.261, allocations: 43.12 kB / 0.9025 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 1.513e-06/0.261, allocations: 0 / 0.9025 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.006564/0.2675, allocations: 1.892 MB / 0.9044 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.2676, allocations: 67.95 kB / 0.9044 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.2688, allocations: 1.198 MB / 0.9056 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.2689, allocations: 41.7 kB / 0.9056 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.2693, allocations: 0.6102 MB / 0.9062 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.2694, allocations: 212.9 kB / 0.9064 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.2695, allocations: 61.69 kB / 0.9065 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.2696, allocations: 337.9 kB / 0.9068 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.2702, allocations: 305.8 kB / 0.9071 GB, free: 420 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/0.271, allocations: 0.4952 MB / 0.9076 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.2722, allocations: 0.7549 MB / 0.9083 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2722, allocations: 4 kB / 0.9083 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004326/0.2766, allocations: 1.41 MB / 0.9097 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.25e-05/0.2767, allocations: 189.1 kB / 0.9099 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2767, allocations: 7.938 kB / 0.9099 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.2773, allocations: 164.7 kB / 0.9101 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.2778, allocations: 171.7 kB / 0.9102 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007434/0.2786, allocations: 0.7279 MB / 0.9109 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.2795, allocations: 179 kB / 0.9111 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.2796, allocations: 32 kB / 0.9111 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.2796, allocations: 4 kB / 0.9111 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004212/0.2838, allocations: 1.261 MB / 0.9124 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2838, allocations: 4 kB / 0.9124 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005198/0.2843, allocations: 160.8 kB / 0.9125 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.2849, allocations: 167.7 kB / 0.9127 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007017/0.2856, allocations: 0.7318 MB / 0.9134 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.2864, allocations: 155.5 kB / 0.9136 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.2865, allocations: 35.98 kB / 0.9136 GB, free: 9.539 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000415/0.2869, allocations: 419.3 kB / 0.914 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.2871, allocations: 142.3 kB / 0.9141 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.2915, allocations: 1.415 MB / 0.9155 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2916, allocations: 4 kB / 0.9155 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2916, allocations: 0 / 0.9155 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003999/0.2956, allocations: 1.252 MB / 0.9167 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/0.3012, allocations: 2.754 MB / 0.9194 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3012, allocations: 4 kB / 0.9194 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.3017, allocations: 119.8 kB / 0.9195 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/0.3022, allocations: 157.1 kB / 0.9197 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.3022, allocations: 23.98 kB / 0.9197 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006785/0.3029, allocations: 0.72 MB / 0.9204 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3029, allocations: 4 kB / 0.9204 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/0.3077, allocations: 1.86 MB / 0.9222 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.308, allocations: 331.1 kB / 0.9225 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.3082, allocations: 16 kB / 0.9226 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2688/0.577, allocations: 94.66 kB / 0.9227 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5772, allocations: 53.89 kB / 0.9227 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/0.5773, allocations: 34.56 kB / 0.9227 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001248/0.5785, allocations: 0.8666 MB / 0.9236 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5786, allocations: 0 / 0.9236 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001842/0.5804, allocations: 0.6991 MB / 0.9243 GB, free: 133.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005886/0.5863, allocations: 2.739 MB / 0.9269 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.5886, allocations: 1.174 MB / 0.9281 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5886, allocations: 6.188 kB / 0.9281 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007307/0.5894, allocations: 406.4 kB / 0.9285 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/0.593, allocations: 0.803 MB / 0.9293 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/0.6129, allocations: 11.19 MB / 0.9402 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.6136, allocations: 1.169 MB / 0.9413 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001085/0.6146, allocations: 304.3 kB / 0.9416 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006234/0.6153, allocations: 0.5117 MB / 0.9421 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.6153, allocations: 0 / 0.9421 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.817/3.432, allocations: 42.49 MB / 0.9836 GB, free: 97.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/3.433, allocations: 269 kB / 0.9839 GB, free: 97.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/6.151, allocations: 0 / 0.9839 GB, free: 97.43 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)