Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009794/0.0009795, 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.0009101/0.00091, 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.163/1.163, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8539/0.8539, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 0.5143 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1235, allocations: 82.03 MB / 0.5944 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.2983/0.4218, allocations: 132.2 MB / 0.7235 GB, free: 2.672 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02709/0.449, allocations: 23.24 MB / 0.7462 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003256/0.4522, allocations: 124.5 kB / 0.7463 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.4552, allocations: 1.492 MB / 0.7478 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008957/0.4641, allocations: 4.097 MB / 0.7518 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004536/0.4687, allocations: 2.151 MB / 0.7539 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007146/0.4758, allocations: 6.522 MB / 0.7603 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.4784, allocations: 2.353 MB / 0.7626 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.483, allocations: 2.751 MB / 0.7652 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.4851, allocations: 1.886 MB / 0.7671 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003122/0.4855, allocations: 248 kB / 0.7673 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.4889, allocations: 1.934 MB / 0.7692 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004368/0.4894, allocations: 0.5993 MB / 0.7698 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.4906, allocations: 1.458 MB / 0.7712 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004311/0.4949, allocations: 4.549 MB / 0.7757 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4949, allocations: 4 kB / 0.7757 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4949, allocations: 0 / 0.7757 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.001e-05/0.4949, allocations: 0 / 0.7757 GB, free: 3.578 MB / 0.5919 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.00438/0.4993, allocations: 3.188 MB / 0.7788 GB, free: 312 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.4994, allocations: 8.031 kB / 0.7788 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/0.4996, allocations: 220 kB / 0.779 GB, free: 72 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003938/0.5035, allocations: 0.8441 MB / 0.7798 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/0.5067, allocations: 2.218 MB / 0.782 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008784/0.5076, allocations: 290.9 kB / 0.7823 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.5078, allocations: 168 kB / 0.7824 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003424/0.5113, allocations: 1.934 MB / 0.7843 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.5113, allocations: 3.938 kB / 0.7843 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.5114, allocations: 64 kB / 0.7844 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.5115, allocations: 39.98 kB / 0.7844 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.5158, allocations: 1.835 MB / 0.7862 GB, free: 8.539 MB / 0.6075 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.01006/0.5259, allocations: 9.094 MB / 0.7951 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/0.5298, allocations: 1.196 MB / 0.7963 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.5308, allocations: 462.5 kB / 0.7967 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009599/0.5318, allocations: 1.726 MB / 0.7984 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5318, allocations: 46.55 kB / 0.7984 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.345e-06/0.5318, allocations: 0 / 0.7984 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.007663/0.5395, allocations: 2.347 MB / 0.8007 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.5396, allocations: 85.11 kB / 0.8008 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003133/0.5427, allocations: 2.54 MB / 0.8033 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.5428, allocations: 45.7 kB / 0.8033 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000729/0.5435, allocations: 1.038 MB / 0.8043 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.5437, allocations: 272.2 kB / 0.8046 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.5441, allocations: 250.6 kB / 0.8048 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5442, allocations: 353.9 kB / 0.8052 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.5458, allocations: 0.5803 MB / 0.8057 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.5478, allocations: 0.9699 MB / 0.8067 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.5505, allocations: 1.261 MB / 0.8079 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.5505, allocations: 4 kB / 0.8079 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005802/0.5563, allocations: 2.052 MB / 0.8099 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5564, allocations: 9.719 kB / 0.8099 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5564, allocations: 8 kB / 0.8099 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.5579, allocations: 499.4 kB / 0.8104 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.559, allocations: 295.5 kB / 0.8107 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.561, allocations: 1.514 MB / 0.8122 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.5633, allocations: 396.9 kB / 0.8126 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5634, allocations: 59.97 kB / 0.8126 GB, free: 12.04 MB / 0.6387 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.0005992/0.564, allocations: 461.5 kB / 0.8131 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/0.5644, allocations: 252.8 kB / 0.8133 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/0.5677, allocations: 1.498 MB / 0.8148 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.5677, allocations: 8.094 kB / 0.8148 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5677, allocations: 3.938 kB / 0.8148 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5677, allocations: 7.984 kB / 0.8148 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006607/0.5743, allocations: 3.641 MB / 0.8183 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.5744, allocations: 4.375 kB / 0.8183 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.5749, allocations: 127.8 kB / 0.8185 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.5764, allocations: 493.1 kB / 0.8189 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.5764, allocations: 27.97 kB / 0.819 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.5788, allocations: 1.583 MB / 0.8205 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.5788, allocations: 4 kB / 0.8205 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005366/0.5842, allocations: 1.938 MB / 0.8224 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006975/0.5849, allocations: 489.6 kB / 0.8229 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.5852, allocations: 24 kB / 0.8229 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/0.5868, allocations: 143.8 kB / 0.823 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.5869, allocations: 63.8 kB / 0.8231 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.587, allocations: 39.97 kB / 0.8231 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002529/0.5895, allocations: 1.789 MB / 0.8249 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5895, allocations: 0 / 0.8249 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001551/0.5911, allocations: 0.6905 MB / 0.8255 GB, free: 14.52 MB / 0.6544 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.006486/0.5976, allocations: 3.031 MB / 0.8285 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.6014, allocations: 1.409 MB / 0.8299 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6014, allocations: 0 / 0.8299 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.6036, allocations: 0.6708 MB / 0.8305 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005013/0.6086, allocations: 1.348 MB / 0.8319 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/0.6401, allocations: 19.23 MB / 0.8506 GB, free: 3.336 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/0.6411, allocations: 1.49 MB / 0.8521 GB, free: 1.816 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001713/0.6428, allocations: 427.9 kB / 0.8525 GB, free: 1.402 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.6438, allocations: 0.9015 MB / 0.8534 GB, free: 0.5 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.6438, allocations: 4 kB / 0.8534 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2855/0.9293, allocations: 69.03 MB / 0.9208 GB, free: 187.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.77, allocations: 4.781 kB / 0.9208 GB, free: 187.3 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)