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.758/1.758, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001066/0.001067, allocations: 183.6 kB / 371.8 MB, free: 10.28 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.518/1.518, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001339/0.001339, allocations: 89.89 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007665/0.0007666, allocations: 11.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3121, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.05611/0.3683, allocations: 62.97 MB / 1.041 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.3855, allocations: 10.88 MB / 1.052 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.3884, allocations: 51.62 kB / 1.052 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.3912, allocations: 0.7462 MB / 1.052 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008302/0.3995, allocations: 2.254 MB / 1.055 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.4048, allocations: 1.533 MB / 1.056 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0062/0.411, allocations: 2.482 MB / 1.058 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.4129, allocations: 1.017 MB / 1.059 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.4155, allocations: 1.152 MB / 1.061 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.4167, allocations: 0.7661 MB / 1.061 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.4169, allocations: 56 kB / 1.061 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.4194, allocations: 0.8542 MB / 1.062 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.4197, allocations: 262.9 kB / 1.062 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004926/0.4202, allocations: 356.9 kB / 1.063 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.4227, allocations: 2.026 MB / 1.065 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.4227, allocations: 0 / 1.065 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.009e-06/0.4227, allocations: 0 / 1.065 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.4228, allocations: 3.938 kB / 1.065 GB, free: 4.008 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.003619/0.4264, allocations: 1.776 MB / 1.067 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.4265, allocations: 12.03 kB / 1.067 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.4267, allocations: 144 kB / 1.067 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008163/0.4275, allocations: 245.8 kB / 1.067 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.43, allocations: 1.373 MB / 1.068 GB, free: 344 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.4301, allocations: 74 kB / 1.068 GB, free: 272 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.4303, allocations: 100 kB / 1.068 GB, free: 172 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4978/0.928, allocations: 1.107 MB / 1.07 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.9281, allocations: 5.844 kB / 1.07 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.9282, allocations: 39.12 kB / 1.07 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.9283, allocations: 25.77 kB / 1.07 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.9303, allocations: 0.9195 MB / 1.07 GB, free: 90.83 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.00644/0.9367, allocations: 4.981 MB / 1.075 GB, free: 87.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.9382, allocations: 0.6562 MB / 1.076 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005245/0.9388, allocations: 0.8223 MB / 1.077 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.9388, allocations: 42.5 kB / 1.077 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.755e-06/0.9388, allocations: 3.969 kB / 1.077 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.007574/0.9464, allocations: 1.883 MB / 1.079 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.9464, allocations: 60.69 kB / 1.079 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.9484, allocations: 1.238 MB / 1.08 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/0.9485, allocations: 45.64 kB / 1.08 GB, free: 85.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/0.949, allocations: 0.5981 MB / 1.081 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.9492, allocations: 223.3 kB / 1.081 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.9492, allocations: 14.59 kB / 1.081 GB, free: 84.63 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.9493, allocations: 338.1 kB / 1.081 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007042/0.95, allocations: 295 kB / 1.081 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008592/0.9509, allocations: 0.4914 MB / 1.082 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.9517, allocations: 366.8 kB / 1.082 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.9517, allocations: 1 kB / 1.082 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005026/0.9567, allocations: 1.399 MB / 1.084 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002603/0.957, allocations: 1.333 MB / 1.085 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.957, allocations: 2.812 kB / 1.085 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.9578, allocations: 165 kB / 1.085 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.9585, allocations: 164.8 kB / 1.085 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008112/0.9593, allocations: 0.7292 MB / 1.086 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.9606, allocations: 172.5 kB / 1.086 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.9607, allocations: 34.22 kB / 1.086 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.9607, allocations: 5.562 kB / 1.086 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004743/0.9655, allocations: 1.256 MB / 1.087 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.9655, allocations: 8.703 kB / 1.087 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006971/0.9662, allocations: 164.5 kB / 1.088 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/0.9669, allocations: 164.4 kB / 1.088 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009265/0.9679, allocations: 0.7299 MB / 1.088 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.9694, allocations: 153.5 kB / 1.089 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.9695, allocations: 39.41 kB / 1.089 GB, free: 80.23 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.0008018/0.9703, allocations: 423.8 kB / 1.089 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.9705, allocations: 136.3 kB / 1.089 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/0.9755, allocations: 1.41 MB / 1.09 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.9756, allocations: 11.73 kB / 1.091 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.9756, allocations: 0 / 1.091 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004373/0.98, allocations: 1.241 MB / 1.092 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00755/0.9875, allocations: 2.769 MB / 1.094 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.9876, allocations: 2.406 kB / 1.094 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.9881, allocations: 122.7 kB / 1.095 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006797/0.9888, allocations: 168.9 kB / 1.095 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/0.9889, allocations: 23.8 kB / 1.095 GB, free: 77.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007304/0.9896, allocations: 0.7152 MB / 1.095 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.9897, allocations: 11.52 kB / 1.095 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005956/0.9956, allocations: 2.053 MB / 1.097 GB, free: 76.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009963/0.9967, allocations: 345 kB / 1.098 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.9969, allocations: 18.98 kB / 1.098 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/0.9978, allocations: 104.7 kB / 1.098 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.9979, allocations: 47.77 kB / 1.098 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.998, allocations: 33.89 kB / 1.098 GB, free: 75.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001567/0.9996, allocations: 0.8917 MB / 1.099 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9996, allocations: 0 / 1.099 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002915/1.003, allocations: 0.7121 MB / 1.1 GB, free: 75.23 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.00687/1.009, allocations: 3.874 MB / 1.103 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002891/1.012, allocations: 1.167 MB / 1.104 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.577e-06/1.012, allocations: 128 / 1.104 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.013, allocations: 413 kB / 1.105 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/1.017, allocations: 0.7559 MB / 1.106 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/1.023, allocations: 5.777 MB / 1.111 GB, free: 66.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/1.024, allocations: 1.195 MB / 1.112 GB, free: 65.78 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001397/1.025, allocations: 312.5 kB / 1.113 GB, free: 65.63 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/1.026, allocations: 0.5113 MB / 1.113 GB, free: 65.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/1.026, allocations: 0 / 1.113 GB, free: 65.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06631/1.092, allocations: 42.01 MB / 1.154 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.093, allocations: 254.1 kB / 1.154 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/4.639, allocations: 0 / 1.154 GB, free: 30.14 MB / 0.6823 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)