Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_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.001928/0.001928, 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.002214/0.002214, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 279.1 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 99.17 kB / 0.6065 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1591, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4389/0.598, allocations: 132.2 MB / 0.8227 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03412/0.6322, allocations: 23.23 MB / 0.8454 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004773/0.637, allocations: 124.2 kB / 0.8455 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004713/0.6417, allocations: 1.493 MB / 0.8469 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.6531, allocations: 4.096 MB / 0.8509 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00546/0.6586, allocations: 2.151 MB / 0.853 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008425/0.667, allocations: 6.515 MB / 0.8594 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.6704, allocations: 2.352 MB / 0.8617 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005914/0.6763, allocations: 2.737 MB / 0.8644 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.6798, allocations: 1.88 MB / 0.8662 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006878/0.6805, allocations: 251.9 kB / 0.8665 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005087/0.6856, allocations: 1.934 MB / 0.8683 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007712/0.6864, allocations: 0.5876 MB / 0.8689 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002457/0.6889, allocations: 1.462 MB / 0.8703 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007482/0.6964, allocations: 4.304 MB / 0.8745 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6964, allocations: 4 kB / 0.8745 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6964, allocations: 0 / 0.8745 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.377e-05/0.6965, allocations: 0 / 0.8745 GB, free: 7.777 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.005903/0.7024, allocations: 3.164 MB / 0.8776 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.7024, allocations: 11.97 kB / 0.8777 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002814/0.7027, allocations: 223.9 kB / 0.8779 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.7074, allocations: 0.8399 MB / 0.8787 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/0.712, allocations: 2.198 MB / 0.8808 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.7131, allocations: 290.8 kB / 0.8811 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.7134, allocations: 164 kB / 0.8813 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/0.7178, allocations: 1.934 MB / 0.8832 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.7178, allocations: 4 kB / 0.8832 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.718, allocations: 60 kB / 0.8832 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.718, allocations: 43.94 kB / 0.8833 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005208/0.7232, allocations: 1.815 MB / 0.885 GB, free: 12.8 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.0141/0.7374, allocations: 9.051 MB / 0.8939 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004676/0.7421, allocations: 1.2 MB / 0.895 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.7433, allocations: 457.4 kB / 0.8955 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.7448, allocations: 1.726 MB / 0.8972 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.7448, allocations: 46.31 kB / 0.8972 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.765e-06/0.7448, allocations: 0 / 0.8972 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009395/0.7542, allocations: 2.318 MB / 0.8995 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.7543, allocations: 89.11 kB / 0.8996 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004573/0.7589, allocations: 2.508 MB / 0.902 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.7591, allocations: 45.64 kB / 0.902 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.7602, allocations: 1.041 MB / 0.9031 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.7605, allocations: 272.2 kB / 0.9033 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004644/0.761, allocations: 262.5 kB / 0.9036 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.7612, allocations: 345.9 kB / 0.9039 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.7631, allocations: 0.5881 MB / 0.9045 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.7655, allocations: 0.9621 MB / 0.9054 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/0.769, allocations: 1.275 MB / 0.9067 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.769, allocations: 0 / 0.9067 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007255/0.7763, allocations: 2.036 MB / 0.9087 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.7763, allocations: 16.06 kB / 0.9087 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.7763, allocations: 8 kB / 0.9087 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/0.778, allocations: 425.2 kB / 0.9091 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.7794, allocations: 287.6 kB / 0.9094 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.7818, allocations: 1.504 MB / 0.9108 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.7847, allocations: 386.6 kB / 0.9112 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.7849, allocations: 67.95 kB / 0.9113 GB, free: 480 kB / 0.6231 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.0008722/0.7857, allocations: 453.5 kB / 0.9117 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000501/0.7863, allocations: 249 kB / 0.9119 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/0.7902, allocations: 1.504 MB / 0.9134 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.7902, allocations: 16 kB / 0.9134 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7902, allocations: 0 / 0.9134 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.7902, allocations: 7.969 kB / 0.9134 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007959/0.7982, allocations: 3.602 MB / 0.9169 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.7982, allocations: 4 kB / 0.9169 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006834/0.7989, allocations: 136.1 kB / 0.9171 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.8005, allocations: 405.3 kB / 0.9175 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.8006, allocations: 27.98 kB / 0.9175 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002915/0.8035, allocations: 1.576 MB / 0.919 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.8036, allocations: 4 kB / 0.919 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006605/0.8102, allocations: 1.931 MB / 0.9209 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.8113, allocations: 489.6 kB / 0.9214 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000358/0.8116, allocations: 19.91 kB / 0.9214 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.8134, allocations: 143.8 kB / 0.9215 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.8135, allocations: 67.78 kB / 0.9216 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.8136, allocations: 43.97 kB / 0.9216 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003217/0.8168, allocations: 1.761 MB / 0.9234 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.084e-06/0.8168, allocations: 0 / 0.9234 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001868/0.8187, allocations: 0.6866 MB / 0.924 GB, free: 3.094 MB / 0.6387 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.00779/0.8265, allocations: 3.002 MB / 0.927 GB, free: 32 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004658/0.8312, allocations: 1.396 MB / 0.9283 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8312, allocations: 0 / 0.9283 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.8337, allocations: 0.6644 MB / 0.929 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006192/0.8399, allocations: 1.342 MB / 0.9303 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0391/0.879, allocations: 19.19 MB / 0.949 GB, free: 7.977 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.8804, allocations: 1.49 MB / 0.9505 GB, free: 6.453 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002093/0.8825, allocations: 431.7 kB / 0.9509 GB, free: 6.031 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.8838, allocations: 0.8976 MB / 0.9518 GB, free: 5.133 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.8838, allocations: 4 kB / 0.9518 GB, free: 5.129 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1258/1.01, allocations: 68.18 MB / 1.018 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.95, allocations: 7.938 kB / 1.018 GB, free: 1.852 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)