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.001077/0.001077, allocations: 105.4 kB / 15.7 MB, free: 24 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.001509/0.001509, allocations: 194.9 kB / 16.64 MB, free: 6.453 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.468/1.468, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.704/1.704, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001504/0.001504, allocations: 66.77 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2298, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6482/0.8781, allocations: 132.3 MB / 0.9128 GB, free: 44.87 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05117/0.9293, allocations: 23.03 MB / 0.9353 GB, free: 44.54 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008171/0.9375, allocations: 127 kB / 0.9354 GB, free: 44.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007713/0.9454, allocations: 1.488 MB / 0.9369 GB, free: 44.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01993/0.9654, allocations: 4.061 MB / 0.9408 GB, free: 44.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00801/0.9734, allocations: 2.198 MB / 0.943 GB, free: 44.31 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01344/0.9869, allocations: 6.505 MB / 0.9493 GB, free: 42.28 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004698/0.9916, allocations: 2.367 MB / 0.9516 GB, free: 41.2 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007776/0.9994, allocations: 2.766 MB / 0.9543 GB, free: 39.99 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004697/1.004, allocations: 1.894 MB / 0.9562 GB, free: 39.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007428/1.005, allocations: 248.3 kB / 0.9564 GB, free: 39.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00623/1.011, allocations: 1.933 MB / 0.9583 GB, free: 38.63 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000782/1.012, allocations: 0.5988 MB / 0.9589 GB, free: 38.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002621/1.015, allocations: 1.464 MB / 0.9603 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007444/1.022, allocations: 4.382 MB / 0.9646 GB, free: 35.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.022, allocations: 3.938 kB / 0.9646 GB, free: 35.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/1.022, allocations: 4 kB / 0.9646 GB, free: 35.83 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.05e-05/1.022, allocations: 0 / 0.9646 GB, free: 35.83 MB / 0.7169 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.006689/1.029, allocations: 3.192 MB / 0.9677 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.029, allocations: 10.81 kB / 0.9677 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000252/1.029, allocations: 218.2 kB / 0.9679 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004394/1.034, allocations: 0.8446 MB / 0.9688 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004592/1.038, allocations: 2.324 MB / 0.971 GB, free: 31.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/1.038, allocations: 128.4 kB / 0.9712 GB, free: 31.24 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/1.039, allocations: 163.5 kB / 0.9713 GB, free: 31.19 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003944/1.043, allocations: 1.928 MB / 0.9732 GB, free: 30.01 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/1.043, allocations: 3.984 kB / 0.9732 GB, free: 30 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/1.043, allocations: 61.75 kB / 0.9733 GB, free: 29.96 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/1.043, allocations: 42.5 kB / 0.9733 GB, free: 29.95 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/1.047, allocations: 1.8 MB / 0.9751 GB, free: 29.06 MB / 0.7169 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.0127/1.06, allocations: 8.991 MB / 0.9838 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/1.064, allocations: 1.201 MB / 0.985 GB, free: 20.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009806/1.065, allocations: 458.6 kB / 0.9855 GB, free: 20.51 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007479/1.066, allocations: 1.72 MB / 0.9871 GB, free: 18.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/1.066, allocations: 51.95 kB / 0.9872 GB, free: 18.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.374e-06/1.066, allocations: 0 / 0.9872 GB, free: 18.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.0083/1.074, allocations: 2.347 MB / 0.9895 GB, free: 17.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/1.074, allocations: 85.08 kB / 0.9896 GB, free: 17.06 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/1.078, allocations: 2.523 MB / 0.992 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/1.078, allocations: 43.61 kB / 0.9921 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/1.078, allocations: 1.047 MB / 0.9931 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/1.079, allocations: 271.1 kB / 0.9933 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/1.079, allocations: 255.7 kB / 0.9936 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/1.079, allocations: 351.8 kB / 0.9939 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/1.081, allocations: 0.5694 MB / 0.9945 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/1.082, allocations: 0.9626 MB / 0.9954 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00266/1.085, allocations: 1.248 MB / 0.9966 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.085, allocations: 7.719 kB / 0.9966 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00607/1.091, allocations: 2.026 MB / 0.9986 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.091, allocations: 8 kB / 0.9986 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.091, allocations: 8 kB / 0.9986 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/1.093, allocations: 493.4 kB / 0.9991 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.094, allocations: 283.5 kB / 0.9994 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/1.096, allocations: 1.521 MB / 1.001 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003216/1.099, allocations: 373.9 kB / 1.001 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/1.099, allocations: 55.97 kB / 1.001 GB, free: 7.621 MB / 0.7169 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.0009378/1.1, allocations: 458.1 kB / 1.002 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004849/1.101, allocations: 264.8 kB / 1.002 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/1.104, allocations: 1.49 MB / 1.003 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.104, allocations: 8 kB / 1.003 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.104, allocations: 0 / 1.003 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/1.104, allocations: 3.984 kB / 1.003 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00659/1.111, allocations: 3.627 MB / 1.007 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.111, allocations: 11.92 kB / 1.007 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/1.111, allocations: 128.2 kB / 1.007 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/1.113, allocations: 492.2 kB / 1.008 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/1.113, allocations: 23.98 kB / 1.008 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/1.115, allocations: 1.581 MB / 1.009 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.115, allocations: 3.938 kB / 1.009 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00611/1.121, allocations: 1.943 MB / 1.011 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.123, allocations: 493.6 kB / 1.012 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/1.123, allocations: 23.92 kB / 1.012 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/1.125, allocations: 135.8 kB / 1.012 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/1.125, allocations: 59.86 kB / 1.012 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.718e-05/1.125, allocations: 43.91 kB / 1.012 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003063/1.128, allocations: 1.769 MB / 1.013 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.128, allocations: 0 / 1.013 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002294/1.13, allocations: 0.6944 MB / 1.014 GB, free: 10.18 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.007412/1.138, allocations: 3.004 MB / 1.017 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004215/1.142, allocations: 1.338 MB / 1.018 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.142, allocations: 4.188 kB / 1.018 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002366/1.144, allocations: 0.6878 MB / 1.019 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006474/1.151, allocations: 1.345 MB / 1.02 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03586/1.187, allocations: 16.66 MB / 1.037 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.188, allocations: 1.49 MB / 1.038 GB, free: 1.223 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002109/1.19, allocations: 447.2 kB / 1.039 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.191, allocations: 0.9015 MB / 1.039 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of SimCode: time 1.373e-06/1.191, allocations: 3.938 kB / 1.039 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.297, allocations: 66.2 MB / 1.104 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/17.61, allocations: 11.22 kB / 1.104 GB, free: 14.61 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)