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.004762/0.004762, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001208/0.001208, allocations: 198.5 kB / 16.68 MB, free: 5.973 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.9167/0.9167, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.91 kB / 0.5951 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3726, allocations: 82.02 MB / 0.6752 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1148/0.4874, allocations: 132.2 MB / 0.8043 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03049/0.5179, allocations: 23.26 MB / 0.827 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004223/0.5222, allocations: 123.2 kB / 0.8271 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.526, allocations: 1.541 MB / 0.8286 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.5364, allocations: 4.312 MB / 0.8328 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006308/0.5427, allocations: 2.176 MB / 0.835 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.5528, allocations: 6.56 MB / 0.8414 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/0.5564, allocations: 2.362 MB / 0.8437 GB, free: 9.309 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006659/0.5631, allocations: 2.81 MB / 0.8464 GB, free: 6.496 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.5665, allocations: 1.886 MB / 0.8483 GB, free: 4.602 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008056/0.5673, allocations: 248 kB / 0.8485 GB, free: 4.359 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005078/0.5724, allocations: 1.938 MB / 0.8504 GB, free: 2.418 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.5736, allocations: 0.5992 MB / 0.851 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002952/0.5765, allocations: 1.462 MB / 0.8524 GB, free: 356 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007509/0.5841, allocations: 4.618 MB / 0.8569 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5841, allocations: 0 / 0.8569 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5841, allocations: 3.938 kB / 0.8569 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.782e-05/0.5842, allocations: 4 kB / 0.8569 GB, free: 11.71 MB / 0.6856 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.006148/0.5904, allocations: 3.282 MB / 0.8601 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5904, allocations: 8.031 kB / 0.8601 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002503/0.5907, allocations: 224 kB / 0.8604 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004372/0.5951, allocations: 0.8611 MB / 0.8612 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/0.5995, allocations: 2.343 MB / 0.8635 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.5996, allocations: 127 kB / 0.8636 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.5999, allocations: 160 kB / 0.8638 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/0.6038, allocations: 1.919 MB / 0.8656 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.6038, allocations: 7.922 kB / 0.8656 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.604, allocations: 64 kB / 0.8657 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.604, allocations: 40 kB / 0.8657 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004521/0.6086, allocations: 1.803 MB / 0.8675 GB, free: 0.6406 MB / 0.6856 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.3277/0.9363, allocations: 9.023 MB / 0.8763 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/0.9405, allocations: 1.188 MB / 0.8775 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.9416, allocations: 456.8 kB / 0.8779 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/0.9424, allocations: 1.721 MB / 0.8796 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.9424, allocations: 45.88 kB / 0.8796 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.895e-06/0.9424, allocations: 0 / 0.8796 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.008655/0.9511, allocations: 2.353 MB / 0.8819 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.9511, allocations: 84.55 kB / 0.882 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004353/0.9555, allocations: 2.524 MB / 0.8845 GB, free: 171 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.9556, allocations: 45.05 kB / 0.8845 GB, free: 171 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000651/0.9563, allocations: 1.059 MB / 0.8856 GB, free: 170.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.9565, allocations: 281.3 kB / 0.8858 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.9569, allocations: 259.9 kB / 0.8861 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.957, allocations: 342.6 kB / 0.8864 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.9586, allocations: 0.5773 MB / 0.887 GB, free: 169.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.9604, allocations: 0.9509 MB / 0.8879 GB, free: 168.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002783/0.9632, allocations: 1.246 MB / 0.8891 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.9633, allocations: 6.156 kB / 0.8891 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006301/0.9696, allocations: 2.034 MB / 0.8911 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.9696, allocations: 9.25 kB / 0.8911 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.9696, allocations: 6.562 kB / 0.8911 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.9713, allocations: 0.4906 MB / 0.8916 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.9725, allocations: 282.1 kB / 0.8919 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.9743, allocations: 1.52 MB / 0.8933 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/0.977, allocations: 377.3 kB / 0.8937 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.9771, allocations: 58.19 kB / 0.8938 GB, free: 164.9 MB / 0.6856 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.0007632/0.9779, allocations: 463.1 kB / 0.8942 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.9783, allocations: 265.7 kB / 0.8945 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.9816, allocations: 1.489 MB / 0.8959 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.9816, allocations: 21.83 kB / 0.8959 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9816, allocations: 1.094 kB / 0.8959 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.9817, allocations: 3.984 kB / 0.8959 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/0.9881, allocations: 3.623 MB / 0.8995 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.9881, allocations: 9.219 kB / 0.8995 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.9887, allocations: 126.3 kB / 0.8996 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.9901, allocations: 493.8 kB / 0.9001 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.9901, allocations: 27.89 kB / 0.9001 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.9923, allocations: 1.581 MB / 0.9016 GB, free: 159.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.9923, allocations: 3.969 kB / 0.9016 GB, free: 159.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/0.9975, allocations: 1.96 MB / 0.9036 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008102/0.9983, allocations: 0.4922 MB / 0.904 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/0.9986, allocations: 24.06 kB / 0.9041 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/1, allocations: 142.9 kB / 0.9042 GB, free: 157.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1, allocations: 52.25 kB / 0.9043 GB, free: 157.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/1, allocations: 47.61 kB / 0.9043 GB, free: 157.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00228/1.003, allocations: 1.774 MB / 0.906 GB, free: 156.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.003, allocations: 0 / 0.906 GB, free: 156.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001621/1.004, allocations: 0.6974 MB / 0.9067 GB, free: 156.7 MB / 0.6856 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.006214/1.01, allocations: 3.039 MB / 0.9097 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003654/1.014, allocations: 1.362 MB / 0.911 GB, free: 153.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.014, allocations: 0 / 0.911 GB, free: 153.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/1.016, allocations: 0.6747 MB / 0.9117 GB, free: 152.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005154/1.021, allocations: 1.332 MB / 0.913 GB, free: 151.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/1.048, allocations: 16.74 MB / 0.9293 GB, free: 134.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/1.049, allocations: 1.486 MB / 0.9308 GB, free: 132.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001527/1.05, allocations: 442.4 kB / 0.9312 GB, free: 132.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008965/1.051, allocations: 0.9053 MB / 0.9321 GB, free: 131.4 MB / 0.6856 GB Notification: Performance of SimCode: time 8.72e-07/1.051, allocations: 0 / 0.9321 GB, free: 131.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08053/1.132, allocations: 66.73 MB / 0.9972 GB, free: 65.64 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.9, allocations: 14.27 kB / 0.9973 GB, free: 65.64 MB / 0.6856 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)