Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",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.001111/0.001111, allocations: 108 kB / 15.61 MB, free: 152 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.00117/0.00117, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.8492/0.8492, allocations: 143 MB / 433.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001092, allocations: 59.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1233, allocations: 82.03 MB / 0.5944 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3026/0.4259, allocations: 132.2 MB / 0.7235 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02723/0.4532, allocations: 23.22 MB / 0.7462 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.4568, allocations: 123.5 kB / 0.7463 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.4604, allocations: 1.496 MB / 0.7477 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.4711, allocations: 4.095 MB / 0.7517 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004722/0.4759, allocations: 2.143 MB / 0.7538 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006786/0.4827, allocations: 6.512 MB / 0.7602 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.4855, allocations: 2.353 MB / 0.7625 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.4904, allocations: 2.748 MB / 0.7652 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.4926, allocations: 1.867 MB / 0.767 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.4929, allocations: 248 kB / 0.7672 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.4963, allocations: 1.934 MB / 0.7691 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.4968, allocations: 0.6031 MB / 0.7697 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.498, allocations: 1.454 MB / 0.7711 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.5028, allocations: 4.537 MB / 0.7756 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5028, allocations: 0 / 0.7756 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5028, allocations: 4 kB / 0.7756 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.5029, allocations: 0 / 0.7756 GB, free: 3.781 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.004464/0.5073, allocations: 3.173 MB / 0.7787 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5074, allocations: 12.03 kB / 0.7787 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002179/0.5076, allocations: 216 kB / 0.7789 GB, free: 296 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/0.5116, allocations: 0.8399 MB / 0.7797 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.515, allocations: 2.22 MB / 0.7819 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008865/0.5159, allocations: 286.9 kB / 0.7822 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.5161, allocations: 160 kB / 0.7823 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.5195, allocations: 1.946 MB / 0.7842 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.5196, allocations: 0 / 0.7842 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.5197, allocations: 64 kB / 0.7843 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.5197, allocations: 39.94 kB / 0.7843 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004286/0.524, allocations: 1.811 MB / 0.7861 GB, free: 8.785 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.01025/0.5343, allocations: 9.075 MB / 0.7949 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/0.5381, allocations: 1.198 MB / 0.7961 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009917/0.5391, allocations: 458.1 kB / 0.7965 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009343/0.5401, allocations: 1.718 MB / 0.7982 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5401, allocations: 50.48 kB / 0.7983 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 4.188e-06/0.5401, allocations: 4 kB / 0.7983 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.007889/0.548, allocations: 2.331 MB / 0.8005 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.5481, allocations: 85.11 kB / 0.8006 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.5513, allocations: 2.508 MB / 0.8031 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.797e-05/0.5514, allocations: 45.7 kB / 0.8031 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007285/0.5521, allocations: 1.042 MB / 0.8041 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.5523, allocations: 272.1 kB / 0.8044 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.5527, allocations: 266.5 kB / 0.8047 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5528, allocations: 345.9 kB / 0.805 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.5544, allocations: 0.5842 MB / 0.8056 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.5564, allocations: 0.966 MB / 0.8065 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.5591, allocations: 1.253 MB / 0.8077 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5592, allocations: 4 kB / 0.8077 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005838/0.565, allocations: 2.048 MB / 0.8097 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.565, allocations: 8 kB / 0.8097 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.565, allocations: 8 kB / 0.8097 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.5664, allocations: 425.5 kB / 0.8101 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.5675, allocations: 283.6 kB / 0.8104 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.5694, allocations: 1.509 MB / 0.8119 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.5717, allocations: 399.4 kB / 0.8123 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.5718, allocations: 55.97 kB / 0.8123 GB, free: 12.45 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006031/0.5724, allocations: 461.5 kB / 0.8128 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.5728, allocations: 248.8 kB / 0.813 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.5761, allocations: 1.501 MB / 0.8145 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.5761, allocations: 12 kB / 0.8145 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5761, allocations: 4 kB / 0.8145 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.5761, allocations: 7.984 kB / 0.8145 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.5826, allocations: 3.61 MB / 0.818 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.5826, allocations: 11.88 kB / 0.818 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.5832, allocations: 123.8 kB / 0.8181 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.5845, allocations: 413.3 kB / 0.8185 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.5846, allocations: 27.98 kB / 0.8186 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.5869, allocations: 1.569 MB / 0.8201 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.587, allocations: 12.83 kB / 0.8201 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005565/0.5925, allocations: 1.934 MB / 0.822 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/0.5933, allocations: 489.6 kB / 0.8225 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.5936, allocations: 24 kB / 0.8225 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.5951, allocations: 143.8 kB / 0.8226 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.5952, allocations: 59.86 kB / 0.8227 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.5953, allocations: 43.91 kB / 0.8227 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002496/0.5978, allocations: 1.761 MB / 0.8244 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5978, allocations: 0 / 0.8244 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001526/0.5993, allocations: 0.6867 MB / 0.8251 GB, free: 15.07 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006384/0.6057, allocations: 3.019 MB / 0.8281 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003843/0.6095, allocations: 1.397 MB / 0.8294 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6096, allocations: 4 kB / 0.8294 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.6117, allocations: 0.6687 MB / 0.8301 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004912/0.6166, allocations: 1.33 MB / 0.8314 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/0.6467, allocations: 19.19 MB / 0.8501 GB, free: 3.949 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008393/0.6476, allocations: 1.486 MB / 0.8516 GB, free: 2.434 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001587/0.6492, allocations: 432.2 kB / 0.852 GB, free: 2.012 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009517/0.6501, allocations: 0.9054 MB / 0.8529 GB, free: 1.109 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.6501, allocations: 0 / 0.8529 GB, free: 1.109 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2927/0.9428, allocations: 68.64 MB / 0.9199 GB, free: 186.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.73, allocations: 8.531 kB / 0.9199 GB, free: 186.9 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP_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_CarnotVerifyCOP.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)