Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001068/0.001068, allocations: 194.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.485/1.485, allocations: 292.3 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.36 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1888, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003774/0.1926, allocations: 2.875 MB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1945, allocations: 1.244 MB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.1948, allocations: 11.94 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.1951, allocations: 135.5 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.1954, allocations: 123.4 kB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.1959, allocations: 247.8 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000384/0.1963, allocations: 483.4 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.1966, allocations: 206.4 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1968, allocations: 187.2 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.197, allocations: 203.1 kB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.197, allocations: 36 kB / 0.7886 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1971, allocations: 79.98 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.1972, allocations: 83.7 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1973, allocations: 194.8 kB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.1978, allocations: 0.5139 MB / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1978, allocations: 0 / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1978, allocations: 0 / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1978, allocations: 0 / 0.7894 GB, free: 7.16 MB / 0.6075 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.0008757/0.1987, allocations: 0.7009 MB / 0.7901 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.1987, allocations: 12.03 kB / 0.7901 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.1988, allocations: 62.72 kB / 0.7902 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.1989, allocations: 44.38 kB / 0.7902 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.1993, allocations: 394.6 kB / 0.7906 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1993, allocations: 24.92 kB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.1994, allocations: 27.94 kB / 0.7906 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.1998, allocations: 275.7 kB / 0.7909 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1999, allocations: 0 / 0.7909 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1999, allocations: 8 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1999, allocations: 8 kB / 0.7909 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.2003, allocations: 182.1 kB / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.2014, allocations: 0.8841 MB / 0.7919 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.2021, allocations: 223 kB / 0.7922 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.2022, allocations: 92.75 kB / 0.7922 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2023, allocations: 8 kB / 0.7923 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.2026, allocations: 135.3 kB / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.2026, allocations: 3.938 kB / 0.7924 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0006094/0.2032, allocations: 292 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2032, allocations: 63.41 kB / 0.7927 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.2036, allocations: 409.6 kB / 0.7931 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2036, allocations: 29.7 kB / 0.7931 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.2038, allocations: 216.1 kB / 0.7933 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.2038, allocations: 63.09 kB / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.2039, allocations: 45.94 kB / 0.7935 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.204, allocations: 354.7 kB / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.2042, allocations: 72.44 kB / 0.7939 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.2044, allocations: 126 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.2047, allocations: 180.6 kB / 0.7942 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2048, allocations: 3.984 kB / 0.7942 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00045/0.2052, allocations: 256.9 kB / 0.7944 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.2052, allocations: 12.16 kB / 0.7944 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2052, allocations: 0 / 0.7944 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2053, allocations: 4 kB / 0.7944 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.2055, allocations: 47.91 kB / 0.7945 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.2055, allocations: 4 kB / 0.7945 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.2056, allocations: 19.78 kB / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.2056, allocations: 15.98 kB / 0.7945 GB, free: 1.652 MB / 0.6075 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 ($PRE.cooMod.nextTimeEvent,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.2058, allocations: 168.6 kB / 0.7947 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.2058, allocations: 39.53 kB / 0.7947 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.576e-05/0.2059, allocations: 39.59 kB / 0.7947 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2059, allocations: 4 kB / 0.7947 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.2059, allocations: 0 / 0.7947 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2059, allocations: 3.938 kB / 0.7947 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008098/0.2068, allocations: 0.6777 MB / 0.7954 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2068, allocations: 0 / 0.7954 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.2069, allocations: 31.97 kB / 0.7954 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.207, allocations: 4 kB / 0.7954 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.207, allocations: 7.938 kB / 0.7954 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.207, allocations: 0 / 0.7954 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.207, allocations: 0 / 0.7954 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/0.2076, allocations: 429.6 kB / 0.7959 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/0.2077, allocations: 136.5 kB / 0.796 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.2078, allocations: 7.938 kB / 0.796 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2079, allocations: 7.984 kB / 0.796 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.208, allocations: 23.95 kB / 0.796 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.208, allocations: 4 kB / 0.796 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002551/0.2083, allocations: 295.2 kB / 0.7963 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2083, allocations: 0 / 0.7963 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002863/0.2086, allocations: 67.83 kB / 0.7964 GB, free: 15.64 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001585/0.2102, allocations: 1.261 MB / 0.7976 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.2106, allocations: 191 kB / 0.7978 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2106, allocations: 0 / 0.7978 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2108, allocations: 98.89 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.2113, allocations: 82.72 kB / 0.798 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.2149, allocations: 3.199 MB / 0.8011 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.2152, allocations: 0.7912 MB / 0.8019 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000146/0.2154, allocations: 50.92 kB / 0.8019 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.2155, allocations: 127.4 kB / 0.802 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2155, allocations: 0 / 0.802 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.2329, allocations: 7.265 MB / 0.8091 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.2332, allocations: 280.5 kB / 0.8094 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.044, allocations: 3.938 kB / 0.8094 GB, free: 2.441 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)