Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.0008416/0.0008415, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005394/0.005394, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.303/2.303, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 12 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5387, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1095/0.6482, allocations: 129.4 MB / 1.149 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02621/0.6745, allocations: 23.07 MB / 1.172 GB, free: 6.934 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002848/0.6773, allocations: 115.2 kB / 1.172 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.68, allocations: 1.196 MB / 1.173 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007924/0.6879, allocations: 3.783 MB / 1.177 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.6919, allocations: 1.962 MB / 1.179 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007876/0.6997, allocations: 8.284 MB / 1.187 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.7023, allocations: 1.911 MB / 1.189 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.706, allocations: 2.298 MB / 1.191 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.7079, allocations: 1.8 MB / 1.193 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.7081, allocations: 88 kB / 1.193 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.7113, allocations: 1.711 MB / 1.195 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.7117, allocations: 449.6 kB / 1.195 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.7128, allocations: 1.296 MB / 1.196 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003694/0.7165, allocations: 4.143 MB / 1.2 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7165, allocations: 4 kB / 1.2 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.494e-06/0.7165, allocations: 0 / 1.2 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.7165, allocations: 3.938 kB / 1.2 GB, free: 9.773 MB / 0.9512 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.004167/0.7207, allocations: 2.666 MB / 1.203 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.7207, allocations: 15.97 kB / 1.203 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.721, allocations: 219.9 kB / 1.203 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/0.7251, allocations: 0.965 MB / 1.204 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.7285, allocations: 2.264 MB / 1.206 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009224/0.7294, allocations: 318.9 kB / 1.207 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.7297, allocations: 163.9 kB / 1.207 GB, free: 3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.7334, allocations: 1.985 MB / 1.209 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.7334, allocations: 3.938 kB / 1.209 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.7335, allocations: 60 kB / 1.209 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.7336, allocations: 43.94 kB / 1.209 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004491/0.7381, allocations: 1.909 MB / 1.211 GB, free: 14.93 MB / 0.9669 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.01031/0.7484, allocations: 9.113 MB / 1.22 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.7525, allocations: 1.299 MB / 1.221 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.7535, allocations: 485.4 kB / 1.221 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009806/0.7545, allocations: 1.723 MB / 1.223 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.7546, allocations: 42.56 kB / 1.223 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.184e-06/0.7546, allocations: 0 / 1.223 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.008008/0.7626, allocations: 2.524 MB / 1.226 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.7626, allocations: 85.11 kB / 1.226 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003319/0.766, allocations: 2.54 MB / 1.228 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-05/0.7661, allocations: 41.7 kB / 1.228 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007834/0.7668, allocations: 1.049 MB / 1.229 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.7671, allocations: 272.1 kB / 1.229 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.7672, allocations: 89.67 kB / 1.23 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7673, allocations: 349.9 kB / 1.23 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.769, allocations: 0.6349 MB / 1.23 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.771, allocations: 1.005 MB / 1.231 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.7739, allocations: 1.33 MB / 1.233 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7739, allocations: 4 kB / 1.233 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005979/0.7799, allocations: 2.192 MB / 1.235 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.7799, allocations: 8 kB / 1.235 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7799, allocations: 8 kB / 1.235 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.7815, allocations: 0.5024 MB / 1.235 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.7827, allocations: 311.5 kB / 1.236 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.7848, allocations: 1.558 MB / 1.237 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.7874, allocations: 483.4 kB / 1.238 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.7875, allocations: 63.97 kB / 1.238 GB, free: 1.789 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007086/0.7882, allocations: 457.9 kB / 1.238 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.7886, allocations: 252.8 kB / 1.238 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.792, allocations: 1.545 MB / 1.24 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.792, allocations: 15.98 kB / 1.24 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.792, allocations: 3.938 kB / 1.24 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.7921, allocations: 7.984 kB / 1.24 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00696/0.799, allocations: 3.712 MB / 1.244 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.799, allocations: 0 / 1.244 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.7996, allocations: 136.2 kB / 1.244 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.8012, allocations: 0.4971 MB / 1.244 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.8012, allocations: 23.98 kB / 1.244 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.8037, allocations: 1.653 MB / 1.246 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8037, allocations: 8.125 kB / 1.246 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/0.8093, allocations: 2.076 MB / 1.248 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007479/0.8101, allocations: 0.5209 MB / 1.248 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/0.8104, allocations: 20 kB / 1.248 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.8121, allocations: 191.6 kB / 1.249 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/0.8122, allocations: 67.8 kB / 1.249 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.8123, allocations: 39.97 kB / 1.249 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002629/0.8149, allocations: 1.789 MB / 1.25 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8149, allocations: 0 / 1.25 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001538/0.8165, allocations: 0.6866 MB / 1.251 GB, free: 3.82 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006897/0.8234, allocations: 3.121 MB / 1.254 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4033/1.227, allocations: 1.435 MB / 1.256 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/1.227, allocations: 1.406 kB / 1.256 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002565/1.229, allocations: 0.7381 MB / 1.256 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007626/1.237, allocations: 1.311 MB / 1.258 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04003/1.277, allocations: 20.23 MB / 1.277 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009252/1.278, allocations: 1.49 MB / 1.279 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002092/1.28, allocations: 436.8 kB / 1.279 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.281, allocations: 0.9085 MB / 1.28 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.281, allocations: 0 / 1.28 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.719/9, allocations: 69.19 MB / 1.348 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/9, allocations: 288.3 kB / 1.348 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/16.89, allocations: 2.5 kB / 1.348 GB, free: 152.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)