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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007211/0.007211, allocations: 97.36 kB / 15.73 MB, free: 6.039 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.002172/0.002172, allocations: 202.2 kB / 16.68 MB, free: 5.961 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.342/2.342, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 63.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2356, allocations: 151.6 MB / 1.166 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5574/0.7931, allocations: 132.3 MB / 1.295 GB, free: 17.87 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02268/0.8158, allocations: 23.24 MB / 1.318 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.8194, allocations: 120.8 kB / 1.318 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.8225, allocations: 1.497 MB / 1.32 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008659/0.8312, allocations: 4.095 MB / 1.324 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004693/0.8359, allocations: 2.17 MB / 1.326 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007664/0.8435, allocations: 6.542 MB / 1.332 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.8462, allocations: 2.351 MB / 1.334 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004809/0.851, allocations: 2.76 MB / 1.337 GB, free: 9.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.853, allocations: 1.888 MB / 1.339 GB, free: 8.402 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.8534, allocations: 247.9 kB / 1.339 GB, free: 8.402 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.8571, allocations: 1.939 MB / 1.341 GB, free: 7.684 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/0.8576, allocations: 0.5988 MB / 1.342 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.8589, allocations: 1.46 MB / 1.343 GB, free: 6.371 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004742/0.8637, allocations: 4.378 MB / 1.347 GB, free: 4.664 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.8637, allocations: 1.062 kB / 1.347 GB, free: 4.664 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8637, allocations: 0 / 1.347 GB, free: 4.664 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.8637, allocations: 0 / 1.347 GB, free: 4.664 MB / 1.014 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.004831/0.8686, allocations: 3.278 MB / 1.351 GB, free: 2.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.8686, allocations: 9.719 kB / 1.351 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.8688, allocations: 223.8 kB / 1.351 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/0.8726, allocations: 0.862 MB / 1.352 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/0.8763, allocations: 2.334 MB / 1.354 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/0.8764, allocations: 122.9 kB / 1.354 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.8766, allocations: 160.9 kB / 1.354 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.8801, allocations: 1.92 MB / 1.356 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.8801, allocations: 5.156 kB / 1.356 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.8803, allocations: 62.09 kB / 1.356 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.8803, allocations: 41.94 kB / 1.356 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004168/0.8845, allocations: 1.807 MB / 1.358 GB, free: 14.04 MB / 1.029 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.01043/0.8949, allocations: 9.012 MB / 1.367 GB, free: 6.207 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/0.8988, allocations: 1.196 MB / 1.368 GB, free: 5.598 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000982/0.8998, allocations: 466.1 kB / 1.368 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.901, allocations: 1.723 MB / 1.37 GB, free: 3.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.901, allocations: 41.16 kB / 1.37 GB, free: 3.293 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.024e-06/0.901, allocations: 0 / 1.37 GB, free: 3.293 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.007413/0.9084, allocations: 2.36 MB / 1.372 GB, free: 2.004 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.9085, allocations: 85.42 kB / 1.372 GB, free: 1.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.9115, allocations: 2.521 MB / 1.375 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/0.9116, allocations: 53.45 kB / 1.375 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008578/0.9125, allocations: 1.05 MB / 1.376 GB, free: 15.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.9127, allocations: 289.5 kB / 1.376 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.9131, allocations: 255.2 kB / 1.377 GB, free: 15.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9133, allocations: 342 kB / 1.377 GB, free: 14.86 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.9148, allocations: 0.5728 MB / 1.377 GB, free: 14.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.9167, allocations: 0.9597 MB / 1.378 GB, free: 13.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002676/0.9194, allocations: 1.24 MB / 1.38 GB, free: 13.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.9194, allocations: 2.938 kB / 1.38 GB, free: 13.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005546/0.925, allocations: 2.034 MB / 1.382 GB, free: 12.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.925, allocations: 10.06 kB / 1.382 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.925, allocations: 4.969 kB / 1.382 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.9265, allocations: 0.4964 MB / 1.382 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.9276, allocations: 275.6 kB / 1.382 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.9297, allocations: 1.522 MB / 1.384 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.9319, allocations: 374.5 kB / 1.384 GB, free: 9.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.932, allocations: 63.97 kB / 1.384 GB, free: 9.465 MB / 1.045 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.0006221/0.9326, allocations: 463.6 kB / 1.385 GB, free: 9.004 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/0.933, allocations: 258.4 kB / 1.385 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.9364, allocations: 1.498 MB / 1.386 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.9364, allocations: 8 kB / 1.386 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9364, allocations: 0 / 1.386 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.9365, allocations: 7.922 kB / 1.386 GB, free: 7.219 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006789/0.9433, allocations: 3.626 MB / 1.39 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.9433, allocations: 4.375 kB / 1.39 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.9438, allocations: 123.8 kB / 1.39 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.9453, allocations: 0.4893 MB / 1.391 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.9454, allocations: 23.98 kB / 1.391 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.9479, allocations: 1.598 MB / 1.392 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9479, allocations: 0 / 1.392 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.9534, allocations: 1.945 MB / 1.394 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.9541, allocations: 0.4911 MB / 1.394 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.9544, allocations: 27.89 kB / 1.395 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.9558, allocations: 139.8 kB / 1.395 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.9559, allocations: 59.91 kB / 1.395 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.943e-05/0.956, allocations: 43.97 kB / 1.395 GB, free: 14.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002545/0.9586, allocations: 1.773 MB / 1.396 GB, free: 12.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9586, allocations: 0 / 1.396 GB, free: 12.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001562/0.9602, allocations: 0.698 MB / 1.397 GB, free: 11.92 MB / 1.061 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.006663/0.9668, allocations: 3.02 MB / 1.4 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003697/0.9705, allocations: 1.35 MB / 1.401 GB, free: 7.496 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9705, allocations: 0 / 1.401 GB, free: 7.496 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.9727, allocations: 0.6756 MB / 1.402 GB, free: 6.824 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004877/0.9776, allocations: 1.334 MB / 1.403 GB, free: 5.508 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/1.007, allocations: 16.73 MB / 1.42 GB, free: 4.305 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.008, allocations: 1.497 MB / 1.421 GB, free: 2.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001273/1.009, allocations: 428.2 kB / 1.422 GB, free: 2.352 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.01, allocations: 0.9054 MB / 1.422 GB, free: 1.445 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.01, allocations: 0 / 1.422 GB, free: 1.445 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.285/9.295, allocations: 66.22 MB / 1.487 GB, free: 56 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.05/28.35, allocations: 6.859 kB / 1.487 GB, free: 52 kB / 1.139 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=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)