Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.515/1.515, allocations: 287.4 MB / 302.6 MB, free: 8.336 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.0008706/0.0008706, allocations: 185.2 kB / 371.1 MB, free: 10.81 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.133/1.133, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0006165/0.0006165, allocations: 82.36 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.000398, allocations: 10.44 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4055/0.5519, allocations: 122.2 MB / 1.098 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02308/0.575, allocations: 21.59 MB / 1.119 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.5789, allocations: 106.8 kB / 1.119 GB, free: 26.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.5817, allocations: 0.999 MB / 1.12 GB, free: 25.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008365/0.59, allocations: 3.145 MB / 1.123 GB, free: 24.67 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003945/0.594, allocations: 1.538 MB / 1.125 GB, free: 24.12 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006941/0.6009, allocations: 7.241 MB / 1.132 GB, free: 21.15 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.6033, allocations: 1.883 MB / 1.134 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003624/0.6069, allocations: 2.157 MB / 1.136 GB, free: 19.53 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.609, allocations: 1.685 MB / 1.137 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002355/0.6093, allocations: 91.09 kB / 1.138 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.6123, allocations: 1.226 MB / 1.139 GB, free: 18.49 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.6127, allocations: 417.2 kB / 1.139 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.6133, allocations: 0.5564 MB / 1.14 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.6159, allocations: 3.145 MB / 1.143 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6159, allocations: 5.062 kB / 1.143 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6159, allocations: 0 / 1.143 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.781e-05/0.616, allocations: 0 / 1.143 GB, free: 15.89 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.003774/0.6198, allocations: 2.683 MB / 1.145 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.6198, allocations: 9.031 kB / 1.145 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/0.62, allocations: 223.5 kB / 1.146 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.6237, allocations: 0.9589 MB / 1.147 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.6268, allocations: 2.278 MB / 1.149 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008261/0.6277, allocations: 324.8 kB / 1.149 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.6279, allocations: 158.2 kB / 1.149 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/0.6312, allocations: 1.976 MB / 1.151 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.6312, allocations: 0 / 1.151 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.6313, allocations: 62.25 kB / 1.151 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.6314, allocations: 41 kB / 1.151 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.6356, allocations: 1.899 MB / 1.153 GB, free: 9.211 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.008769/0.6444, allocations: 9.117 MB / 1.162 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.648, allocations: 1.301 MB / 1.163 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008976/0.6489, allocations: 484 kB / 1.164 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009144/0.6498, allocations: 1.724 MB / 1.165 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.6499, allocations: 45.73 kB / 1.166 GB, free: 14.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 1.863e-06/0.6499, allocations: 0 / 1.166 GB, free: 14.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.007407/0.6573, allocations: 2.519 MB / 1.168 GB, free: 13.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.6573, allocations: 84.58 kB / 1.168 GB, free: 13.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/0.6605, allocations: 2.514 MB / 1.171 GB, free: 11.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.6605, allocations: 45.33 kB / 1.171 GB, free: 11.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007639/0.6613, allocations: 1.057 MB / 1.172 GB, free: 10.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.6615, allocations: 265.7 kB / 1.172 GB, free: 10.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.6616, allocations: 23.28 kB / 1.172 GB, free: 10.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6617, allocations: 351.9 kB / 1.172 GB, free: 10.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.6633, allocations: 0.6248 MB / 1.173 GB, free: 9.863 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.6651, allocations: 1.013 MB / 1.174 GB, free: 9.109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.6679, allocations: 1.321 MB / 1.175 GB, free: 7.977 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6679, allocations: 4 kB / 1.175 GB, free: 7.973 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004504/0.6724, allocations: 1.966 MB / 1.177 GB, free: 5.988 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.6724, allocations: 8 kB / 1.177 GB, free: 5.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.6724, allocations: 8 kB / 1.177 GB, free: 5.973 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.6741, allocations: 0.4978 MB / 1.178 GB, free: 5.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6752, allocations: 319.4 kB / 1.178 GB, free: 5.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.6772, allocations: 1.553 MB / 1.179 GB, free: 3.555 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.6799, allocations: 485.9 kB / 1.18 GB, free: 3.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.68, allocations: 63.91 kB / 1.18 GB, free: 3.016 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006745/0.6807, allocations: 457.5 kB / 1.18 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.681, allocations: 245 kB / 1.181 GB, free: 2.316 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.6842, allocations: 1.546 MB / 1.182 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.6842, allocations: 11.94 kB / 1.182 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6842, allocations: 4 kB / 1.182 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6843, allocations: 3.984 kB / 1.182 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006546/0.6908, allocations: 3.716 MB / 1.186 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6908, allocations: 4 kB / 1.186 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.6914, allocations: 131.8 kB / 1.186 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.6928, allocations: 0.5049 MB / 1.186 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.6929, allocations: 27.98 kB / 1.186 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.6952, allocations: 1.641 MB / 1.188 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6952, allocations: 3.938 kB / 1.188 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/0.7004, allocations: 2.076 MB / 1.19 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/0.7011, allocations: 0.5131 MB / 1.19 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/0.7014, allocations: 20 kB / 1.19 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.703, allocations: 195.7 kB / 1.191 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.7031, allocations: 63.8 kB / 1.191 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/0.7032, allocations: 35.97 kB / 1.191 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002469/0.7056, allocations: 1.773 MB / 1.192 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7056, allocations: 4 kB / 1.192 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001511/0.7072, allocations: 0.6711 MB / 1.193 GB, free: 5.129 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006205/0.7134, allocations: 3.1 MB / 1.196 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003565/0.7169, allocations: 1.433 MB / 1.198 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.717, allocations: 0 / 1.198 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.7191, allocations: 0.7367 MB / 1.198 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006/0.7251, allocations: 1.323 MB / 1.2 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/0.7522, allocations: 15.09 MB / 1.214 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/0.7531, allocations: 1.49 MB / 1.216 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001629/0.7547, allocations: 443.5 kB / 1.216 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.7558, allocations: 0.9171 MB / 1.217 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/0.7558, allocations: 0 / 1.217 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3605/1.116, allocations: 73.06 MB / 1.288 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/1.116, allocations: 259.6 kB / 1.289 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.989/5.106, allocations: 4 kB / 1.289 GB, free: 2.484 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)