Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",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.347/1.347, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001286/0.001286, allocations: 180.6 kB / 326.5 MB, free: 2.219 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.648/1.648, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0007929/0.000793, allocations: 93.97 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003483, allocations: 8.125 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1912, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.00253/0.1938, allocations: 2.423 MB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1952, allocations: 1.163 MB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.1954, allocations: 7.938 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1957, allocations: 111.5 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.196, allocations: 143.5 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.1964, allocations: 220.8 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.1967, allocations: 288 kB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.197, allocations: 128.4 kB / 0.9045 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1971, allocations: 147.2 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1973, allocations: 135.3 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.1973, allocations: 8 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.1974, allocations: 35.92 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.1975, allocations: 51.77 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.1975, allocations: 89.45 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1978, allocations: 411.2 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1978, allocations: 0 / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1978, allocations: 3.938 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5e-06/0.1978, allocations: 0 / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007708/0.1986, allocations: 0.6347 MB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1986, allocations: 12.03 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.1987, allocations: 54.55 kB / 0.906 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.1988, allocations: 47.44 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.1992, allocations: 397.6 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1993, allocations: 16.56 kB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.1993, allocations: 24 kB / 0.9065 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.1997, allocations: 271.7 kB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1997, allocations: 3.938 kB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.1998, allocations: 11.95 kB / 0.9068 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1998, allocations: 8 kB / 0.9068 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.2002, allocations: 190.2 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.2012, allocations: 0.8687 MB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.2019, allocations: 243 kB / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.2019, allocations: 0 / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.2022, allocations: 141.2 kB / 0.9082 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.2022, allocations: 8 kB / 0.9082 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0005879/0.2028, allocations: 289.3 kB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.2029, allocations: 59.39 kB / 0.9085 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.2032, allocations: 405.6 kB / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2032, allocations: 33.7 kB / 0.9089 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.2033, allocations: 216.1 kB / 0.9091 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.2034, allocations: 63.11 kB / 0.9092 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.2034, allocations: 4 kB / 0.9092 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.2034, allocations: 346.8 kB / 0.9095 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2036, allocations: 72.42 kB / 0.9096 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2038, allocations: 114.2 kB / 0.9097 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.2039, allocations: 80.05 kB / 0.9098 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2039, allocations: 0 / 0.9098 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004165/0.2044, allocations: 270.6 kB / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2044, allocations: 7.984 kB / 0.9101 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.2044, allocations: 4 kB / 0.9101 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2044, allocations: 4 kB / 0.9101 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.2046, allocations: 48.12 kB / 0.9101 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2046, allocations: 3.938 kB / 0.9101 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.2048, allocations: 27.72 kB / 0.9101 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2048, allocations: 8 kB / 0.9101 GB, free: 53.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.not1.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,reaToInt.y,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.205, allocations: 173.9 kB / 0.9103 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.205, allocations: 39.48 kB / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/0.2051, allocations: 43.58 kB / 0.9104 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2051, allocations: 3.938 kB / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2051, allocations: 8 kB / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.2051, allocations: 0 / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007343/0.2059, allocations: 0.674 MB / 0.9111 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2059, allocations: 3.953 kB / 0.9111 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.206, allocations: 35.91 kB / 0.9111 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2061, allocations: 4 kB / 0.9111 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.2061, allocations: 0 / 0.9111 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2061, allocations: 4 kB / 0.9111 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2061, allocations: 4 kB / 0.9111 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.2067, allocations: 425.2 kB / 0.9115 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.777e-05/0.2068, allocations: 136.5 kB / 0.9116 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.2068, allocations: 4 kB / 0.9117 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.207, allocations: 15.98 kB / 0.9117 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.2071, allocations: 23.91 kB / 0.9117 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2071, allocations: 4 kB / 0.9117 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002321/0.2073, allocations: 295.1 kB / 0.912 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2073, allocations: 0 / 0.912 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002945/0.2076, allocations: 63.91 kB / 0.912 GB, free: 51.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.not1.y,$whenCondition2,$whenCondition1,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001477/0.2091, allocations: 1.267 MB / 0.9133 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003679/0.2095, allocations: 182.1 kB / 0.9134 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2095, allocations: 0 / 0.9134 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.2097, allocations: 88.22 kB / 0.9135 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.2101, allocations: 89.19 kB / 0.9136 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.2127, allocations: 2.685 MB / 0.9162 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.2129, allocations: 0.807 MB / 0.917 GB, free: 46.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.2131, allocations: 46.94 kB / 0.9171 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2132, allocations: 123.4 kB / 0.9172 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2132, allocations: 0 / 0.9172 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.2302, allocations: 7.003 MB / 0.924 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.2304, allocations: 258.9 kB / 0.9243 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.516, allocations: 3.938 kB / 0.9243 GB, free: 38.86 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)