Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_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.001671/0.001671, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.545/2.545, allocations: 469.8 MB / 0.7424 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 68.52 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2346, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1211/0.3558, allocations: 132.3 MB / 1.193 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02862/0.3844, allocations: 23.24 MB / 1.216 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.3867, allocations: 119.3 kB / 1.216 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.3894, allocations: 1.494 MB / 1.218 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007577/0.397, allocations: 4.099 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003985/0.401, allocations: 2.15 MB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006461/0.4075, allocations: 6.533 MB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.4101, allocations: 2.355 MB / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.4145, allocations: 2.742 MB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.4165, allocations: 1.886 MB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003213/0.4169, allocations: 248 kB / 1.237 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.4202, allocations: 1.934 MB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005167/0.4208, allocations: 0.6031 MB / 1.24 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.4221, allocations: 1.462 MB / 1.241 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004447/0.4265, allocations: 4.308 MB / 1.245 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4265, allocations: 0 / 1.245 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4265, allocations: 0 / 1.245 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.4266, allocations: 4 kB / 1.245 GB, free: 4.102 MB / 0.9981 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.00466/0.4312, allocations: 3.184 MB / 1.248 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4313, allocations: 8.031 kB / 1.248 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002372/0.4315, allocations: 220 kB / 1.249 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3534/0.7849, allocations: 0.8363 MB / 1.249 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/0.7885, allocations: 2.195 MB / 1.251 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008621/0.7894, allocations: 295.7 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.7896, allocations: 162.6 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/0.7929, allocations: 1.944 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.793, allocations: 1.125 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.7931, allocations: 66.3 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.7931, allocations: 38 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.7971, allocations: 1.83 MB / 1.256 GB, free: 181.8 MB / 0.9981 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.008854/0.806, allocations: 9.08 MB / 1.265 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.8096, allocations: 1.192 MB / 1.266 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009098/0.8106, allocations: 457.7 kB / 1.266 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/0.8112, allocations: 1.734 MB / 1.268 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.8112, allocations: 41.84 kB / 1.268 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/0.8113, allocations: 4.219 kB / 1.268 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.007167/0.8184, allocations: 2.326 MB / 1.27 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.8185, allocations: 90.83 kB / 1.27 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/0.8218, allocations: 2.549 MB / 1.273 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.8219, allocations: 43.98 kB / 1.273 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/0.8225, allocations: 1.044 MB / 1.274 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.8226, allocations: 271.5 kB / 1.274 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/0.823, allocations: 252 kB / 1.274 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.8231, allocations: 355.7 kB / 1.275 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.8247, allocations: 0.582 MB / 1.275 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.8267, allocations: 0.9682 MB / 1.276 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.8294, allocations: 1.267 MB / 1.277 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8295, allocations: 1.281 kB / 1.277 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005651/0.8351, allocations: 2.047 MB / 1.279 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.8351, allocations: 8.938 kB / 1.279 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.8352, allocations: 9.344 kB / 1.279 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.8367, allocations: 499.8 kB / 1.28 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.8378, allocations: 287.5 kB / 1.28 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.8395, allocations: 1.518 MB / 1.282 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.8417, allocations: 395.7 kB / 1.282 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.8419, allocations: 59.94 kB / 1.282 GB, free: 167.3 MB / 0.9981 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.0005279/0.8424, allocations: 462.8 kB / 1.283 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.8427, allocations: 244.6 kB / 1.283 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.8458, allocations: 1.501 MB / 1.284 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.8458, allocations: 17.38 kB / 1.284 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8458, allocations: 1.438 kB / 1.284 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.8458, allocations: 7.641 kB / 1.284 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/0.8517, allocations: 3.623 MB / 1.288 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.8517, allocations: 3.094 kB / 1.288 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.8523, allocations: 131.4 kB / 1.288 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.8536, allocations: 494.7 kB / 1.288 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.8536, allocations: 25.17 kB / 1.288 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.8557, allocations: 1.584 MB / 1.29 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8557, allocations: 3.188 kB / 1.29 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/0.8606, allocations: 1.941 MB / 1.292 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.8611, allocations: 496.6 kB / 1.292 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.8614, allocations: 27.58 kB / 1.292 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.8629, allocations: 134.8 kB / 1.292 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.863, allocations: 62.55 kB / 1.293 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.863, allocations: 45.78 kB / 1.293 GB, free: 161 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002243/0.8653, allocations: 1.788 MB / 1.294 GB, free: 160 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.61e-07/0.8653, allocations: 0 / 1.294 GB, free: 160 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001458/0.8667, allocations: 0.69 MB / 1.295 GB, free: 159.9 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.005888/0.8726, allocations: 3.004 MB / 1.298 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00352/0.8762, allocations: 1.391 MB / 1.299 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8762, allocations: 1.094 kB / 1.299 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.8782, allocations: 0.6837 MB / 1.3 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004492/0.8827, allocations: 1.333 MB / 1.301 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/0.9066, allocations: 19.23 MB / 1.32 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.9072, allocations: 1.493 MB / 1.322 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001383/0.9086, allocations: 434.9 kB / 1.322 GB, free: 137.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007518/0.9094, allocations: 0.9015 MB / 1.323 GB, free: 137 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.9094, allocations: 0 / 1.323 GB, free: 137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8416/1.751, allocations: 68.52 MB / 1.39 GB, free: 69.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/16.06, allocations: 0 / 1.39 GB, free: 69.36 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)