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.004119/0.004119, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001005/0.001005, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.9485/0.9485, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 0.5951 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3623, allocations: 82.03 MB / 0.6752 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1136/0.476, allocations: 132.2 MB / 0.8043 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03101/0.5071, allocations: 23.24 MB / 0.827 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004414/0.5115, allocations: 127.2 kB / 0.8271 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.5154, allocations: 1.537 MB / 0.8286 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.5261, allocations: 4.312 MB / 0.8328 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.5314, allocations: 2.176 MB / 0.8349 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008956/0.5403, allocations: 6.548 MB / 0.8413 GB, free: 11.74 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004192/0.5445, allocations: 2.341 MB / 0.8436 GB, free: 9.344 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006731/0.5513, allocations: 2.822 MB / 0.8464 GB, free: 6.52 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003595/0.5549, allocations: 1.882 MB / 0.8482 GB, free: 4.629 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000842/0.5558, allocations: 248 kB / 0.8484 GB, free: 4.387 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004983/0.5608, allocations: 1.934 MB / 0.8503 GB, free: 2.449 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009644/0.5617, allocations: 0.5914 MB / 0.8509 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.5645, allocations: 1.458 MB / 0.8523 GB, free: 400 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008904/0.5734, allocations: 4.612 MB / 0.8568 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5734, allocations: 0 / 0.8568 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5735, allocations: 0 / 0.8568 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001265/0.5736, allocations: 0 / 0.8568 GB, free: 11.77 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.006302/0.5799, allocations: 3.272 MB / 0.86 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.5799, allocations: 8.031 kB / 0.86 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.5802, allocations: 224 kB / 0.8603 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004319/0.5845, allocations: 0.853 MB / 0.8611 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.5889, allocations: 2.348 MB / 0.8634 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/0.589, allocations: 127 kB / 0.8635 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.5893, allocations: 160 kB / 0.8637 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/0.593, allocations: 1.919 MB / 0.8655 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.5931, allocations: 3.938 kB / 0.8655 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.5932, allocations: 64 kB / 0.8656 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.5933, allocations: 39.94 kB / 0.8656 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/0.5976, allocations: 1.784 MB / 0.8674 GB, free: 0.7344 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.3077/0.9053, allocations: 8.988 MB / 0.8762 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/0.9096, allocations: 1.192 MB / 0.8773 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.9107, allocations: 461.2 kB / 0.8778 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007632/0.9115, allocations: 1.724 MB / 0.8794 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.9115, allocations: 46.41 kB / 0.8795 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/0.9115, allocations: 0.5938 kB / 0.8795 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.008616/0.9201, allocations: 2.336 MB / 0.8818 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.9202, allocations: 89.08 kB / 0.8818 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/0.9244, allocations: 2.494 MB / 0.8843 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.9245, allocations: 45.23 kB / 0.8843 GB, free: 171 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/0.9252, allocations: 1.05 MB / 0.8854 GB, free: 170.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.9254, allocations: 282 kB / 0.8856 GB, free: 170 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.9258, allocations: 256.1 kB / 0.8859 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.9259, allocations: 344 kB / 0.8862 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.9275, allocations: 0.5765 MB / 0.8868 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.9293, allocations: 0.952 MB / 0.8877 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.932, allocations: 1.247 MB / 0.8889 GB, free: 167.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.932, allocations: 2.438 kB / 0.8889 GB, free: 167.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006105/0.9381, allocations: 2.037 MB / 0.8909 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.9382, allocations: 12.23 kB / 0.8909 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.9382, allocations: 8.25 kB / 0.8909 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.9397, allocations: 423.6 kB / 0.8913 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.9408, allocations: 281 kB / 0.8916 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.9426, allocations: 1.498 MB / 0.8931 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.9454, allocations: 371.4 kB / 0.8934 GB, free: 165 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.9456, allocations: 61.52 kB / 0.8935 GB, free: 165 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 (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.0008341/0.9464, allocations: 463.6 kB / 0.8939 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/0.9468, allocations: 261.9 kB / 0.8942 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.9501, allocations: 1.501 MB / 0.8956 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.9502, allocations: 13.39 kB / 0.8956 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.9502, allocations: 5.125 kB / 0.8956 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.9502, allocations: 3.984 kB / 0.8956 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/0.9568, allocations: 3.604 MB / 0.8992 GB, free: 161.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.9568, allocations: 0 / 0.8992 GB, free: 161.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.9574, allocations: 138.3 kB / 0.8993 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.9587, allocations: 411.8 kB / 0.8997 GB, free: 161 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/0.9588, allocations: 23.86 kB / 0.8997 GB, free: 161 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.961, allocations: 1.578 MB / 0.9013 GB, free: 159.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.961, allocations: 0 / 0.9013 GB, free: 159.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.9665, allocations: 1.956 MB / 0.9032 GB, free: 158.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.9675, allocations: 498.8 kB / 0.9036 GB, free: 158.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.9679, allocations: 30.11 kB / 0.9037 GB, free: 158.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.9695, allocations: 135.1 kB / 0.9038 GB, free: 158 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.9696, allocations: 55.58 kB / 0.9038 GB, free: 158 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.9696, allocations: 39.59 kB / 0.9039 GB, free: 158 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002377/0.972, allocations: 1.754 MB / 0.9056 GB, free: 157.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.7e-07/0.972, allocations: 0 / 0.9056 GB, free: 157.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001712/0.9738, allocations: 0.692 MB / 0.9063 GB, free: 157 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 (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.006268/0.98, allocations: 3.03 MB / 0.9092 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003771/0.9838, allocations: 1.354 MB / 0.9106 GB, free: 153.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9838, allocations: 4 kB / 0.9106 GB, free: 153.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.9859, allocations: 0.6647 MB / 0.9112 GB, free: 153.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005341/0.9912, allocations: 1.328 MB / 0.9125 GB, free: 151.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/1.019, allocations: 16.76 MB / 0.9289 GB, free: 134.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/1.02, allocations: 1.494 MB / 0.9303 GB, free: 133.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001595/1.021, allocations: 436.6 kB / 0.9307 GB, free: 132.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/1.022, allocations: 0.8937 MB / 0.9316 GB, free: 131.8 MB / 0.6856 GB Notification: Performance of SimCode: time 8.02e-07/1.022, allocations: 4 kB / 0.9316 GB, free: 131.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08583/1.108, allocations: 66.39 MB / 0.9964 GB, free: 66.32 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.82, allocations: 8.672 kB / 0.9965 GB, free: 66.31 MB / 0.6856 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)