Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_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.001019/0.001019, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001007/0.001007, allocations: 191.3 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 69.83 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1589, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.09872/0.2576, allocations: 131.1 MB / 0.911 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.3377/0.5954, allocations: 22.86 MB / 0.9333 GB, free: 44.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003711/0.5991, allocations: 114.6 kB / 0.9334 GB, free: 44.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00335/0.6025, allocations: 1.28 MB / 0.9347 GB, free: 44.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009405/0.6119, allocations: 3.786 MB / 0.9384 GB, free: 44.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.6166, allocations: 2.011 MB / 0.9403 GB, free: 44.03 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007803/0.6244, allocations: 6.539 MB / 0.9467 GB, free: 44.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003508/0.6279, allocations: 2.334 MB / 0.949 GB, free: 43.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006407/0.6344, allocations: 2.779 MB / 0.9517 GB, free: 43.55 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.6379, allocations: 1.941 MB / 0.9536 GB, free: 43.2 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.6383, allocations: 248.6 kB / 0.9538 GB, free: 43.2 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004447/0.6428, allocations: 1.959 MB / 0.9558 GB, free: 43.06 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004861/0.6433, allocations: 0.6056 MB / 0.9563 GB, free: 42.94 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.645, allocations: 1.463 MB / 0.9578 GB, free: 42.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.6504, allocations: 4.369 MB / 0.962 GB, free: 41.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6505, allocations: 8.5 kB / 0.9621 GB, free: 41.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6505, allocations: 0 / 0.9621 GB, free: 41.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.764e-05/0.6505, allocations: 4 kB / 0.9621 GB, free: 41.91 MB / 0.7325 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.005222/0.6557, allocations: 3.19 MB / 0.9652 GB, free: 40.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6558, allocations: 9.719 kB / 0.9652 GB, free: 40.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.656, allocations: 219.2 kB / 0.9654 GB, free: 40.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/0.6604, allocations: 0.8385 MB / 0.9662 GB, free: 40.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/0.6641, allocations: 2.267 MB / 0.9684 GB, free: 39.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00089/0.665, allocations: 292.8 kB / 0.9687 GB, free: 39.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.6652, allocations: 165.8 kB / 0.9689 GB, free: 39.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/0.669, allocations: 1.94 MB / 0.9708 GB, free: 38.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.669, allocations: 6.469 kB / 0.9708 GB, free: 38.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.6692, allocations: 61.84 kB / 0.9708 GB, free: 38.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.6692, allocations: 41.52 kB / 0.9709 GB, free: 38.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/0.6736, allocations: 1.828 MB / 0.9726 GB, free: 38.04 MB / 0.7325 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.01022/0.6838, allocations: 9.042 MB / 0.9815 GB, free: 31.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/0.6878, allocations: 1.192 MB / 0.9826 GB, free: 30.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009544/0.6888, allocations: 459.8 kB / 0.9831 GB, free: 30.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006662/0.6894, allocations: 1.721 MB / 0.9848 GB, free: 28.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.6895, allocations: 51.67 kB / 0.9848 GB, free: 28.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.454e-06/0.6895, allocations: 0 / 0.9848 GB, free: 28.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.007926/0.6974, allocations: 2.335 MB / 0.9871 GB, free: 27.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.6975, allocations: 91.27 kB / 0.9872 GB, free: 27.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/0.7006, allocations: 2.514 MB / 0.9896 GB, free: 25.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/0.7007, allocations: 43.36 kB / 0.9897 GB, free: 25.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.7013, allocations: 1.049 MB / 0.9907 GB, free: 24.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.7015, allocations: 286.7 kB / 0.991 GB, free: 24.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.7019, allocations: 250.9 kB / 0.9912 GB, free: 24.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.7019, allocations: 344.8 kB / 0.9915 GB, free: 24.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.7035, allocations: 0.5912 MB / 0.9921 GB, free: 23.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.7053, allocations: 0.9732 MB / 0.9931 GB, free: 23.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.7078, allocations: 1.256 MB / 0.9943 GB, free: 22.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.7079, allocations: 2.938 kB / 0.9943 GB, free: 22.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005672/0.7135, allocations: 2.053 MB / 0.9963 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7136, allocations: 8.094 kB / 0.9963 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7136, allocations: 11.5 kB / 0.9963 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.7152, allocations: 0.4924 MB / 0.9968 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7164, allocations: 285.5 kB / 0.9971 GB, free: 21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.7181, allocations: 1.515 MB / 0.9985 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/0.721, allocations: 444.7 kB / 0.999 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.7211, allocations: 68.17 kB / 0.999 GB, free: 19.45 MB / 0.7325 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.0006839/0.7218, allocations: 459 kB / 0.9995 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.7221, allocations: 247.8 kB / 0.9997 GB, free: 19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.7254, allocations: 1.506 MB / 1.001 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.7254, allocations: 17.73 kB / 1.001 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7255, allocations: 0 / 1.001 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.7255, allocations: 7.922 kB / 1.001 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006187/0.7317, allocations: 3.608 MB / 1.005 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.7317, allocations: 2.469 kB / 1.005 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.7323, allocations: 134.6 kB / 1.005 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/0.7337, allocations: 494.1 kB / 1.005 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.7338, allocations: 22.83 kB / 1.005 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.7359, allocations: 1.588 MB / 1.007 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7359, allocations: 3.188 kB / 1.007 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005086/0.741, allocations: 1.938 MB / 1.009 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.7417, allocations: 497.4 kB / 1.009 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/0.742, allocations: 23.94 kB / 1.009 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.7437, allocations: 171.7 kB / 1.009 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.7438, allocations: 55.92 kB / 1.01 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/0.7439, allocations: 39.97 kB / 1.01 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002258/0.7462, allocations: 1.781 MB / 1.011 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7462, allocations: 0 / 1.011 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001658/0.7478, allocations: 0.675 MB / 1.012 GB, free: 9.32 MB / 0.7325 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.006152/0.754, allocations: 2.979 MB / 1.015 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003712/0.7577, allocations: 1.4 MB / 1.016 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7577, allocations: 4 kB / 1.016 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.7598, allocations: 0.6823 MB / 1.017 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005203/0.765, allocations: 1.372 MB / 1.018 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03998/0.805, allocations: 19.8 MB / 1.038 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.8061, allocations: 1.49 MB / 1.039 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001969/0.8081, allocations: 434.7 kB / 1.039 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.8092, allocations: 0.9015 MB / 1.04 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of SimCode: time 4.51e-07/0.8092, allocations: 0 / 1.04 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7803/1.59, allocations: 68.14 MB / 1.107 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/1.59, allocations: 275.8 kB / 1.107 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.68/5.27, allocations: 0 / 1.107 GB, free: 7.398 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)