Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.575/1.575, allocations: 288.4 MB / 303.6 MB, free: 8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008561/0.0008562, allocations: 185.2 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.4 MB / 0.631 GB, free: 9.84 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007885/0.0007885, allocations: 90.34 kB / 0.7444 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 12.19 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.05778/0.2227, allocations: 69.45 MB / 1.048 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.2383, allocations: 11.85 MB / 1.06 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.2404, allocations: 51.62 kB / 1.06 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.2423, allocations: 0.5704 MB / 1.06 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.2478, allocations: 1.998 MB / 1.062 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.2507, allocations: 1.006 MB / 1.063 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005225/0.2559, allocations: 4.788 MB / 1.068 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.2578, allocations: 1.136 MB / 1.069 GB, free: 176 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3539/0.6117, allocations: 1.285 MB / 1.07 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.6134, allocations: 1.066 MB / 1.071 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.6136, allocations: 57.53 kB / 1.071 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.6162, allocations: 1.193 MB / 1.072 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.6165, allocations: 270.4 kB / 1.073 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000892/0.6174, allocations: 0.7648 MB / 1.073 GB, free: 34.51 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.6203, allocations: 2.16 MB / 1.076 GB, free: 34.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6203, allocations: 0 / 1.076 GB, free: 34.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6203, allocations: 0.9688 kB / 1.076 GB, free: 34.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.6203, allocations: 2.734 kB / 1.076 GB, free: 34.45 MB / 0.6823 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.003246/0.6236, allocations: 1.788 MB / 1.077 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.6236, allocations: 9.688 kB / 1.077 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.6238, allocations: 149.6 kB / 1.077 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.6246, allocations: 243.5 kB / 1.078 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.6268, allocations: 1.475 MB / 1.079 GB, free: 32.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.6269, allocations: 81.19 kB / 1.079 GB, free: 32.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.6271, allocations: 106.3 kB / 1.079 GB, free: 32.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.6292, allocations: 1.112 MB / 1.08 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.6293, allocations: 3.781 kB / 1.08 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.6294, allocations: 43.06 kB / 1.08 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.6294, allocations: 25.47 kB / 1.08 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.6313, allocations: 0.923 MB / 1.081 GB, free: 32.79 MB / 0.6823 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.00509/0.6364, allocations: 4.925 MB / 1.086 GB, free: 30.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.6378, allocations: 0.6455 MB / 1.087 GB, free: 30.56 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.6385, allocations: 367.6 kB / 1.087 GB, free: 30.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/0.639, allocations: 0.8355 MB / 1.088 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.639, allocations: 42.06 kB / 1.088 GB, free: 29.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.194e-06/0.6391, allocations: 0 / 1.088 GB, free: 29.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.007214/0.6463, allocations: 1.89 MB / 1.09 GB, free: 29.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.6463, allocations: 57.69 kB / 1.09 GB, free: 29.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.6478, allocations: 1.198 MB / 1.091 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.076e-05/0.6479, allocations: 43.2 kB / 1.091 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.6482, allocations: 0.5949 MB / 1.092 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.6484, allocations: 222.7 kB / 1.092 GB, free: 28.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.6485, allocations: 16.97 kB / 1.092 GB, free: 28.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.6485, allocations: 333.5 kB / 1.092 GB, free: 28.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.6492, allocations: 297 kB / 1.093 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.65, allocations: 0.4919 MB / 1.093 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.6513, allocations: 0.7382 MB / 1.094 GB, free: 28.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6513, allocations: 1.375 kB / 1.094 GB, free: 28.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004525/0.6558, allocations: 1.409 MB / 1.095 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.6559, allocations: 192.5 kB / 1.095 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.6559, allocations: 3.25 kB / 1.095 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006702/0.6566, allocations: 164.8 kB / 1.095 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.6572, allocations: 160.9 kB / 1.096 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007377/0.658, allocations: 0.7291 MB / 1.096 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.6592, allocations: 170 kB / 1.096 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.6593, allocations: 34.16 kB / 1.096 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.6593, allocations: 10.84 kB / 1.096 GB, free: 27.06 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004333/0.6636, allocations: 1.249 MB / 1.098 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6637, allocations: 3.344 kB / 1.098 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.6642, allocations: 171.5 kB / 1.098 GB, free: 27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.6648, allocations: 159.7 kB / 1.098 GB, free: 27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006611/0.6655, allocations: 0.7321 MB / 1.099 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.6665, allocations: 160.5 kB / 1.099 GB, free: 26.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.6666, allocations: 32.67 kB / 1.099 GB, free: 26.42 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005683/0.6672, allocations: 421.8 kB / 1.099 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.6673, allocations: 132.2 kB / 1.099 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.6721, allocations: 1.415 MB / 1.101 GB, free: 26.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.6722, allocations: 12.59 kB / 1.101 GB, free: 26.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6722, allocations: 0 / 1.101 GB, free: 26.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00427/0.6765, allocations: 1.247 MB / 1.102 GB, free: 25.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006255/0.6827, allocations: 2.737 MB / 1.105 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6827, allocations: 3.094 kB / 1.105 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/0.6832, allocations: 125.3 kB / 1.105 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.6838, allocations: 165.6 kB / 1.105 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.6838, allocations: 20.75 kB / 1.105 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006339/0.6845, allocations: 0.7146 MB / 1.106 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6845, allocations: 9.719 kB / 1.106 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004842/0.6893, allocations: 1.849 MB / 1.108 GB, free: 24.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.6898, allocations: 332.7 kB / 1.108 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.69, allocations: 15.81 kB / 1.108 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008708/0.6909, allocations: 97.05 kB / 1.108 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.691, allocations: 60.17 kB / 1.108 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/0.6911, allocations: 31.72 kB / 1.108 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001103/0.6922, allocations: 0.8531 MB / 1.109 GB, free: 24.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6922, allocations: 0 / 1.109 GB, free: 24.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001811/0.694, allocations: 0.7028 MB / 1.11 GB, free: 23.96 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005976/0.7, allocations: 2.74 MB / 1.112 GB, free: 22.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002455/0.7024, allocations: 1.17 MB / 1.113 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7025, allocations: 1.031 kB / 1.113 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008292/0.7033, allocations: 408.2 kB / 1.114 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003872/0.7072, allocations: 0.798 MB / 1.115 GB, free: 22.85 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.725, allocations: 8.313 MB / 1.123 GB, free: 20 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.7256, allocations: 1.166 MB / 1.124 GB, free: 19.24 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001291/0.7269, allocations: 305.1 kB / 1.124 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005996/0.7275, allocations: 0.5199 MB / 1.125 GB, free: 19.04 MB / 0.6823 GB Notification: Performance of SimCode: time 8.42e-07/0.7275, allocations: 0 / 1.125 GB, free: 19.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6888/1.416, allocations: 44.94 MB / 1.169 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/1.417, allocations: 277.1 kB / 1.169 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.365/4.781, allocations: 0 / 1.169 GB, free: 15.08 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)