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 2.703/2.703, allocations: 287.5 MB / 302.4 MB, free: 8.414 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.001428/0.001428, allocations: 189.4 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 0.6297 GB, free: 10.46 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.000921/0.0009206, allocations: 88.28 kB / 0.743 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 11.62 kB / 0.8659 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2207, allocations: 115.3 MB / 0.9784 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.8209/1.042, allocations: 122.2 MB / 1.098 GB, free: 31.88 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04077/1.083, allocations: 21.6 MB / 1.119 GB, free: 26.69 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005719/1.088, allocations: 106.3 kB / 1.119 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005759/1.094, allocations: 1.009 MB / 1.12 GB, free: 26.15 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01472/1.109, allocations: 3.134 MB / 1.123 GB, free: 24.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007755/1.117, allocations: 1.546 MB / 1.125 GB, free: 24.34 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0138/1.13, allocations: 7.163 MB / 1.132 GB, free: 21.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006881/1.137, allocations: 1.658 MB / 1.133 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008815/1.146, allocations: 2.155 MB / 1.135 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005025/1.151, allocations: 1.677 MB / 1.137 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009179/1.152, allocations: 95.38 kB / 1.137 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007127/1.159, allocations: 1.227 MB / 1.138 GB, free: 19.03 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00132/1.161, allocations: 416.7 kB / 1.139 GB, free: 18.71 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/1.163, allocations: 0.5576 MB / 1.139 GB, free: 18.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007399/1.17, allocations: 3.143 MB / 1.142 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/1.17, allocations: 1.062 kB / 1.142 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.637e-06/1.17, allocations: 0 / 1.142 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001599/1.17, allocations: 4 kB / 1.142 GB, free: 16.25 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.009092/1.18, allocations: 2.713 MB / 1.145 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.18, allocations: 10 kB / 1.145 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006583/1.18, allocations: 220.8 kB / 1.145 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007963/1.188, allocations: 0.9581 MB / 1.146 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007535/1.196, allocations: 2.182 MB / 1.148 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001847/1.198, allocations: 324.6 kB / 1.148 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005837/1.198, allocations: 162.4 kB / 1.149 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007168/1.206, allocations: 1.97 MB / 1.151 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.65e-05/1.206, allocations: 1.312 kB / 1.151 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/1.206, allocations: 62.53 kB / 1.151 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/1.206, allocations: 39.23 kB / 1.151 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/1.218, allocations: 1.91 MB / 1.152 GB, free: 9.656 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.0201/1.238, allocations: 9.127 MB / 1.161 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007362/1.245, allocations: 1.299 MB / 1.163 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/1.247, allocations: 479.7 kB / 1.163 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/1.249, allocations: 1.721 MB / 1.165 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/1.249, allocations: 45.12 kB / 1.165 GB, free: 14.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.657e-06/1.249, allocations: 0 / 1.165 GB, free: 14.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.01559/1.264, allocations: 2.487 MB / 1.167 GB, free: 13.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/1.264, allocations: 91.53 kB / 1.167 GB, free: 13.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006554/1.271, allocations: 2.518 MB / 1.17 GB, free: 12.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/1.271, allocations: 51.83 kB / 1.17 GB, free: 12.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001435/1.273, allocations: 1.056 MB / 1.171 GB, free: 11.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/1.273, allocations: 277.8 kB / 1.171 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/1.273, allocations: 27.38 kB / 1.171 GB, free: 10.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.274, allocations: 344.5 kB / 1.172 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/1.277, allocations: 0.6251 MB / 1.172 GB, free: 10.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003958/1.281, allocations: 1.012 MB / 1.173 GB, free: 9.555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/1.285, allocations: 0.6791 MB / 1.174 GB, free: 9.242 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.285, allocations: 2.406 kB / 1.174 GB, free: 9.242 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.009699/1.294, allocations: 1.971 MB / 1.176 GB, free: 7.348 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/1.294, allocations: 10.5 kB / 1.176 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/1.294, allocations: 8 kB / 1.176 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/1.298, allocations: 0.4975 MB / 1.176 GB, free: 6.828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/1.3, allocations: 311.5 kB / 1.177 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/1.304, allocations: 1.56 MB / 1.178 GB, free: 4.914 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008724/1.313, allocations: 481.8 kB / 1.179 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005699/1.313, allocations: 67.95 kB / 1.179 GB, free: 4.375 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.003038/1.317, allocations: 457.5 kB / 1.179 GB, free: 3.918 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.318, allocations: 248.9 kB / 1.179 GB, free: 3.672 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.33, allocations: 1.544 MB / 1.181 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-05/1.33, allocations: 11.98 kB / 1.181 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.33, allocations: 0 / 1.181 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/1.33, allocations: 7.938 kB / 1.181 GB, free: 2.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.355, allocations: 3.708 MB / 1.184 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.708e-05/1.355, allocations: 8 kB / 1.184 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.357, allocations: 136.3 kB / 1.185 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005099/1.362, allocations: 0.4971 MB / 1.185 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/1.362, allocations: 35.97 kB / 1.185 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006914/1.369, allocations: 1.635 MB / 1.187 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/1.369, allocations: 7.938 kB / 1.187 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/1.381, allocations: 2.087 MB / 1.189 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.383, allocations: 0.5053 MB / 1.189 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005734/1.383, allocations: 23.98 kB / 1.189 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003438/1.387, allocations: 191.7 kB / 1.189 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.387, allocations: 59.83 kB / 1.189 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/1.387, allocations: 43.95 kB / 1.189 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005125/1.392, allocations: 1.766 MB / 1.191 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.4e-07/1.392, allocations: 0 / 1.191 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003566/1.396, allocations: 0.6827 MB / 1.192 GB, free: 6.465 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.01292/1.409, allocations: 3.084 MB / 1.195 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008096/1.417, allocations: 1.434 MB / 1.196 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.417, allocations: 0 / 1.196 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00453/1.422, allocations: 0.7252 MB / 1.197 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01276/1.434, allocations: 1.298 MB / 1.198 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06709/1.502, allocations: 15.08 MB / 1.213 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/1.503, allocations: 1.49 MB / 1.214 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003304/1.507, allocations: 442.7 kB / 1.215 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.508, allocations: 0.8937 MB / 1.216 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of SimCode: time 3.977e-06/1.508, allocations: 0 / 1.216 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1856/1.694, allocations: 69.11 MB / 1.283 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003766/1.695, allocations: 259.7 kB / 1.283 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.84/7.535, allocations: 0 / 1.283 GB, free: 7.84 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)