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.004616/0.004616, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001108/0.001108, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.00214, allocations: 289.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9567/0.9567, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 91.86 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4395, allocations: 86.98 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.123/0.5626, allocations: 132.2 MB / 0.895 GB, free: 15.24 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02961/0.5922, allocations: 23.21 MB / 0.9177 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.5963, allocations: 123.2 kB / 0.9178 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003887/0.6002, allocations: 1.494 MB / 0.9192 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.6105, allocations: 4.097 MB / 0.9232 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005175/0.6157, allocations: 2.182 MB / 0.9254 GB, free: 64 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008206/0.6239, allocations: 6.521 MB / 0.9317 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004122/0.628, allocations: 2.347 MB / 0.934 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006694/0.6347, allocations: 2.796 MB / 0.9368 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.6383, allocations: 1.888 MB / 0.9386 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007969/0.6391, allocations: 244 kB / 0.9388 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005664/0.6448, allocations: 1.938 MB / 0.9407 GB, free: 248 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009869/0.6458, allocations: 0.5955 MB / 0.9413 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002972/0.6488, allocations: 1.454 MB / 0.9427 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007611/0.6564, allocations: 4.386 MB / 0.947 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6564, allocations: 0 / 0.947 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6564, allocations: 0 / 0.947 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001216/0.6565, allocations: 0 / 0.947 GB, free: 9.785 MB / 0.7169 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.006483/0.663, allocations: 3.164 MB / 0.9501 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.6631, allocations: 12.03 kB / 0.9501 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003286/0.6634, allocations: 224 kB / 0.9503 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.6678, allocations: 0.8436 MB / 0.9512 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004511/0.6723, allocations: 2.322 MB / 0.9534 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.6724, allocations: 127 kB / 0.9535 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.6727, allocations: 160 kB / 0.9537 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/0.6765, allocations: 1.923 MB / 0.9556 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.6765, allocations: 7.938 kB / 0.9556 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.6767, allocations: 64 kB / 0.9556 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.6767, allocations: 39.94 kB / 0.9557 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4024/1.079, allocations: 1.781 MB / 0.9574 GB, free: 184 MB / 0.7169 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.01403/1.093, allocations: 8.955 MB / 0.9662 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004029/1.097, allocations: 1.207 MB / 0.9673 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009927/1.098, allocations: 468.4 kB / 0.9678 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007881/1.099, allocations: 1.719 MB / 0.9695 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/1.099, allocations: 47.97 kB / 0.9695 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.515e-06/1.099, allocations: 0 / 0.9695 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008011/1.107, allocations: 2.322 MB / 0.9718 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.107, allocations: 88.58 kB / 0.9719 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/1.11, allocations: 2.495 MB / 0.9743 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/1.11, allocations: 45.61 kB / 0.9743 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006678/1.111, allocations: 1.038 MB / 0.9754 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/1.111, allocations: 267.2 kB / 0.9756 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/1.112, allocations: 257.4 kB / 0.9759 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.586e-05/1.112, allocations: 351.6 kB / 0.9762 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/1.113, allocations: 0.5742 MB / 0.9768 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/1.115, allocations: 0.9463 MB / 0.9777 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/1.117, allocations: 1.249 MB / 0.9789 GB, free: 170 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.117, allocations: 7.25 kB / 0.9789 GB, free: 170 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005437/1.123, allocations: 2.006 MB / 0.9809 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.123, allocations: 10.34 kB / 0.9809 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.123, allocations: 5.812 kB / 0.9809 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/1.124, allocations: 421.3 kB / 0.9813 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.125, allocations: 280 kB / 0.9815 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/1.127, allocations: 1.505 MB / 0.983 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/1.13, allocations: 369.6 kB / 0.9834 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/1.13, allocations: 63.95 kB / 0.9834 GB, free: 167.1 MB / 0.7169 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.0007714/1.13, allocations: 461.5 kB / 0.9839 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/1.131, allocations: 249.5 kB / 0.9841 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/1.134, allocations: 1.497 MB / 0.9856 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.134, allocations: 12 kB / 0.9856 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.134, allocations: 0 / 0.9856 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.134, allocations: 11.86 kB / 0.9856 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/1.14, allocations: 3.6 MB / 0.9891 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.14, allocations: 4.75 kB / 0.9891 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/1.14, allocations: 132.1 kB / 0.9892 GB, free: 161 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/1.142, allocations: 411.1 kB / 0.9896 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/1.142, allocations: 27.97 kB / 0.9897 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/1.144, allocations: 1.57 MB / 0.9912 GB, free: 159 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.144, allocations: 7.812 kB / 0.9912 GB, free: 159 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/1.149, allocations: 1.943 MB / 0.9931 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008427/1.15, allocations: 493.5 kB / 0.9936 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/1.15, allocations: 19.98 kB / 0.9936 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.152, allocations: 135.8 kB / 0.9937 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/1.152, allocations: 63.8 kB / 0.9938 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/1.152, allocations: 43.97 kB / 0.9938 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00227/1.154, allocations: 1.742 MB / 0.9955 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.154, allocations: 4 kB / 0.9955 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001722/1.156, allocations: 0.6866 MB / 0.9962 GB, free: 153.8 MB / 0.7169 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.006142/1.162, allocations: 3.008 MB / 0.9991 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003463/1.165, allocations: 1.337 MB / 1 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.165, allocations: 0 / 1 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.167, allocations: 0.6602 MB / 1.001 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00525/1.173, allocations: 1.331 MB / 1.002 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/1.202, allocations: 16.66 MB / 1.019 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/1.203, allocations: 1.49 MB / 1.02 GB, free: 128.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001783/1.205, allocations: 426.6 kB / 1.021 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009608/1.206, allocations: 0.8937 MB / 1.021 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.663e-06/1.206, allocations: 4 kB / 1.021 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09368/1.299, allocations: 67.21 MB / 1.087 GB, free: 61.36 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.98, allocations: 11.22 kB / 1.087 GB, free: 61.36 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)