Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 174.7 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008842/0.0008841, allocations: 90.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 15 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2071, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.09088/0.298, allocations: 110.6 MB / 1.008 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03136/0.3294, allocations: 19.73 MB / 1.027 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004964/0.3344, allocations: 95.31 kB / 1.028 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006282/0.3407, allocations: 1.364 MB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.3566, allocations: 4.093 MB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007404/0.364, allocations: 2.407 MB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007862/0.3719, allocations: 3.893 MB / 1.039 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003279/0.3752, allocations: 1.7 MB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00518/0.3804, allocations: 1.981 MB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/0.3833, allocations: 1.256 MB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.3837, allocations: 96 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.3884, allocations: 1.303 MB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005561/0.389, allocations: 410.2 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.3902, allocations: 0.5511 MB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004912/0.3952, allocations: 3.082 MB / 1.049 GB, free: 6.969 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3952, allocations: 3.938 kB / 1.049 GB, free: 6.965 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.035e-06/0.3952, allocations: 0 / 1.049 GB, free: 6.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.502e-05/0.3953, allocations: 0 / 1.049 GB, free: 6.965 MB / 0.698 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.005449/0.4007, allocations: 2.697 MB / 1.052 GB, free: 4.184 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4008, allocations: 8.031 kB / 1.052 GB, free: 4.176 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003291/0.4011, allocations: 223.8 kB / 1.052 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004471/0.4056, allocations: 0.9528 MB / 1.053 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004909/0.4105, allocations: 2.091 MB / 1.055 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/0.4117, allocations: 322.9 kB / 1.055 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003307/0.412, allocations: 164 kB / 1.055 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4535/0.8656, allocations: 1.962 MB / 1.057 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/0.8657, allocations: 3.953 kB / 1.057 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.8658, allocations: 62.44 kB / 1.057 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.8659, allocations: 39.59 kB / 1.057 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00461/0.8705, allocations: 1.889 MB / 1.059 GB, free: 148.7 MB / 0.698 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.01491/0.8854, allocations: 9.146 MB / 1.068 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005148/0.8906, allocations: 1.332 MB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.8917, allocations: 1.716 MB / 1.071 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.8918, allocations: 44.41 kB / 1.071 GB, free: 142.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.417e-06/0.8918, allocations: 0 / 1.071 GB, free: 142.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.01048/0.9023, allocations: 2.486 MB / 1.074 GB, free: 142.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.9024, allocations: 93.03 kB / 1.074 GB, free: 142 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007624/0.9101, allocations: 2.55 MB / 1.076 GB, free: 141.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003197/0.9104, allocations: 46.58 kB / 1.076 GB, free: 141.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.9117, allocations: 1.043 MB / 1.077 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000459/0.9122, allocations: 276.1 kB / 1.078 GB, free: 141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.9124, allocations: 20.12 kB / 1.078 GB, free: 141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9125, allocations: 346.6 kB / 1.078 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.9147, allocations: 0.6144 MB / 1.079 GB, free: 140.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.9171, allocations: 0.9917 MB / 1.08 GB, free: 139.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.9193, allocations: 0.6747 MB / 1.08 GB, free: 139.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.9193, allocations: 1.469 kB / 1.08 GB, free: 139.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.006271/0.9256, allocations: 1.943 MB / 1.082 GB, free: 139 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.9256, allocations: 7.469 kB / 1.082 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.9257, allocations: 9.438 kB / 1.082 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.9276, allocations: 446.6 kB / 1.083 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.9289, allocations: 303.2 kB / 1.083 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.931, allocations: 1.533 MB / 1.084 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003842/0.9349, allocations: 487.3 kB / 1.085 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.9351, allocations: 63.58 kB / 1.085 GB, free: 137.1 MB / 0.698 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 (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.00105/0.9362, allocations: 461.2 kB / 1.085 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00084/0.937, allocations: 243.1 kB / 1.085 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.9407, allocations: 1.553 MB / 1.087 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.9407, allocations: 16.95 kB / 1.087 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.9407, allocations: 1.562 kB / 1.087 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.9408, allocations: 7.984 kB / 1.087 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009118/0.9499, allocations: 3.7 MB / 1.091 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.9499, allocations: 2.938 kB / 1.091 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.9506, allocations: 139 kB / 1.091 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.9521, allocations: 441.5 kB / 1.091 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-05/0.9522, allocations: 31.8 kB / 1.091 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.9545, allocations: 1.629 MB / 1.093 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.9545, allocations: 11.86 kB / 1.093 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/0.9603, allocations: 2.331 MB / 1.095 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.9618, allocations: 0.5234 MB / 1.096 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006482/0.9624, allocations: 19.72 kB / 1.096 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/0.9645, allocations: 205.4 kB / 1.096 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.9646, allocations: 59.56 kB / 1.096 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.9647, allocations: 43.62 kB / 1.096 GB, free: 129.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003304/0.968, allocations: 1.794 MB / 1.098 GB, free: 128.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9681, allocations: 0 / 1.098 GB, free: 128.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002219/0.9703, allocations: 0.6676 MB / 1.098 GB, free: 128.5 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006999/0.9773, allocations: 4.158 MB / 1.102 GB, free: 124.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004033/0.9814, allocations: 1.401 MB / 1.104 GB, free: 123.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.9814, allocations: 0 / 1.104 GB, free: 123.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.9836, allocations: 0.7264 MB / 1.104 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007941/0.9916, allocations: 1.267 MB / 1.106 GB, free: 121.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.006, allocations: 10.82 MB / 1.116 GB, free: 110.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.007, allocations: 1.532 MB / 1.118 GB, free: 108.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002754/1.01, allocations: 439.1 kB / 1.118 GB, free: 108.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.011, allocations: 0.8976 MB / 1.119 GB, free: 107.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/1.011, allocations: 0 / 1.119 GB, free: 107.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/1.12, allocations: 67.77 MB / 1.185 GB, free: 39.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/1.12, allocations: 270.9 kB / 1.186 GB, free: 39.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.277/5.397, allocations: 3.938 kB / 1.186 GB, free: 39.57 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)