Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_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.001211/0.001211, allocations: 103.7 kB / 16.4 MB, free: 6.461 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.001152/0.001152, allocations: 197.8 kB / 17.34 MB, free: 5.715 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7891/0.7891, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 69.39 kB / 0.568 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 77.92 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4816/0.6282, allocations: 132.2 MB / 0.7732 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02987/0.6581, allocations: 23.22 MB / 0.7958 GB, free: 26.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006512/0.6647, allocations: 127 kB / 0.796 GB, free: 26.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004804/0.6695, allocations: 1.527 MB / 0.7975 GB, free: 26.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.6813, allocations: 4.329 MB / 0.8017 GB, free: 24.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006764/0.6881, allocations: 2.168 MB / 0.8038 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009901/0.698, allocations: 6.559 MB / 0.8102 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003894/0.702, allocations: 2.366 MB / 0.8125 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00641/0.7084, allocations: 2.808 MB / 0.8153 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.7111, allocations: 1.895 MB / 0.8171 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007002/0.7118, allocations: 247.4 kB / 0.8173 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005019/0.7169, allocations: 1.943 MB / 0.8192 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006606/0.7175, allocations: 0.5967 MB / 0.8198 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.72, allocations: 1.459 MB / 0.8212 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006841/0.7268, allocations: 4.371 MB / 0.8255 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.7269, allocations: 2.5 kB / 0.8255 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7269, allocations: 7.938 kB / 0.8255 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.013e-05/0.7269, allocations: 0 / 0.8255 GB, free: 10.62 MB / 0.5762 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.005577/0.7325, allocations: 3.28 MB / 0.8287 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.7326, allocations: 8.625 kB / 0.8287 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.7328, allocations: 224 kB / 0.829 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/0.7379, allocations: 0.8535 MB / 0.8298 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005757/0.7437, allocations: 2.344 MB / 0.8321 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.7438, allocations: 123 kB / 0.8322 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.7441, allocations: 160 kB / 0.8323 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/0.7481, allocations: 1.93 MB / 0.8342 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.7481, allocations: 0 / 0.8342 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.7483, allocations: 68 kB / 0.8343 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.7483, allocations: 40 kB / 0.8343 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.7526, allocations: 1.799 MB / 0.8361 GB, free: 15.79 MB / 0.5919 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.01324/0.7659, allocations: 9.007 MB / 0.8449 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/0.7703, allocations: 1.201 MB / 0.8461 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.7715, allocations: 461.9 kB / 0.8465 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.7727, allocations: 1.727 MB / 0.8482 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.7727, allocations: 46.5 kB / 0.8482 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 4.418e-06/0.7727, allocations: 3.984 kB / 0.8482 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008904/0.7816, allocations: 2.345 MB / 0.8505 GB, free: 36 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.7817, allocations: 88.86 kB / 0.8506 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.786, allocations: 2.52 MB / 0.8531 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.7862, allocations: 45.7 kB / 0.8531 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.7872, allocations: 1.053 MB / 0.8541 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/0.7876, allocations: 289.2 kB / 0.8544 GB, free: 12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004534/0.7881, allocations: 254.8 kB / 0.8547 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7882, allocations: 353.9 kB / 0.855 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.79, allocations: 0.5647 MB / 0.8555 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.7921, allocations: 0.9543 MB / 0.8565 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/0.7951, allocations: 1.252 MB / 0.8577 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.7952, allocations: 4 kB / 0.8577 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006743/0.8019, allocations: 2.041 MB / 0.8597 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.802, allocations: 9.875 kB / 0.8597 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.802, allocations: 8 kB / 0.8597 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/0.8038, allocations: 493.3 kB / 0.8602 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.805, allocations: 279.6 kB / 0.8605 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.8072, allocations: 1.518 MB / 0.8619 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/0.8102, allocations: 378.5 kB / 0.8623 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.8104, allocations: 55.97 kB / 0.8624 GB, free: 3.535 MB / 0.6075 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.0009301/0.8113, allocations: 467 kB / 0.8628 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/0.8119, allocations: 266.3 kB / 0.8631 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.8155, allocations: 1.498 MB / 0.8645 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.8156, allocations: 12 kB / 0.8645 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8156, allocations: 0 / 0.8645 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.8156, allocations: 3.984 kB / 0.8645 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00768/0.8233, allocations: 3.623 MB / 0.8681 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.8233, allocations: 7.984 kB / 0.8681 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/0.8239, allocations: 132.2 kB / 0.8682 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.8258, allocations: 489.1 kB / 0.8687 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.236e-05/0.8259, allocations: 27.98 kB / 0.8687 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.8287, allocations: 1.591 MB / 0.8702 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8287, allocations: 4 kB / 0.8703 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006437/0.8351, allocations: 1.952 MB / 0.8722 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/0.8376, allocations: 0.4951 MB / 0.8726 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005317/0.8381, allocations: 27.95 kB / 0.8727 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.8399, allocations: 139.8 kB / 0.8728 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.84, allocations: 51.92 kB / 0.8729 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.8401, allocations: 43.97 kB / 0.8729 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003208/0.8434, allocations: 1.769 MB / 0.8746 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8434, allocations: 0 / 0.8746 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00253/0.8459, allocations: 0.6979 MB / 0.8753 GB, free: 6.051 MB / 0.6231 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.007544/0.8535, allocations: 3.013 MB / 0.8782 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004468/0.858, allocations: 1.347 MB / 0.8796 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.858, allocations: 8 kB / 0.8796 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.8604, allocations: 0.6804 MB / 0.8802 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00632/0.8667, allocations: 1.332 MB / 0.8815 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03441/0.9012, allocations: 16.73 MB / 0.8979 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.9023, allocations: 1.482 MB / 0.8993 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001926/0.9042, allocations: 443.9 kB / 0.8997 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.9054, allocations: 0.8976 MB / 0.9006 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of SimCode: time 9.52e-07/0.9055, allocations: 0 / 0.9006 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/1.016, allocations: 66.2 MB / 0.9653 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.82, allocations: 16.36 kB / 0.9653 GB, free: 10.18 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)