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.001116/0.001116, allocations: 105.4 kB / 15.7 MB, free: 24 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.001068/0.001068, allocations: 196.2 kB / 16.64 MB, free: 6.453 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.271/1.271, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.688/1.688, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001511/0.001511, allocations: 75.27 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.199, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004552/0.2036, allocations: 2.829 MB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.2058, allocations: 1.272 MB / 0.7877 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.2062, allocations: 11.94 kB / 0.7877 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.2067, allocations: 143.2 kB / 0.7878 GB, free: 8.988 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.2071, allocations: 155.1 kB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.2077, allocations: 271.2 kB / 0.7882 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005073/0.2082, allocations: 479.4 kB / 0.7887 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.2086, allocations: 206.5 kB / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.2088, allocations: 195.1 kB / 0.789 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.2091, allocations: 187.2 kB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.2092, allocations: 40 kB / 0.7893 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.2093, allocations: 71.97 kB / 0.7893 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2095, allocations: 99.58 kB / 0.7894 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.2096, allocations: 186.9 kB / 0.7896 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.2103, allocations: 0.5293 MB / 0.7901 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2103, allocations: 0 / 0.7901 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2103, allocations: 0 / 0.7901 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.2103, allocations: 0 / 0.7901 GB, free: 6.598 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.001083/0.2114, allocations: 0.7072 MB / 0.7908 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2114, allocations: 12.03 kB / 0.7908 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.726e-05/0.2115, allocations: 62.72 kB / 0.7909 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.388e-05/0.2116, allocations: 44.38 kB / 0.7909 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.2122, allocations: 398.7 kB / 0.7913 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.2123, allocations: 20.94 kB / 0.7913 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.2123, allocations: 31.94 kB / 0.7914 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.2128, allocations: 271.7 kB / 0.7916 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2128, allocations: 0 / 0.7916 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.2129, allocations: 11.98 kB / 0.7916 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2129, allocations: 8 kB / 0.7916 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.2133, allocations: 182.1 kB / 0.7918 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2146, allocations: 0.8801 MB / 0.7927 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007171/0.2153, allocations: 229.7 kB / 0.7929 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.2155, allocations: 92.75 kB / 0.793 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.2156, allocations: 4 kB / 0.793 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/0.2159, allocations: 135.3 kB / 0.7931 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.2159, allocations: 0 / 0.7931 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0006875/0.2166, allocations: 295.8 kB / 0.7934 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.2166, allocations: 51.41 kB / 0.7934 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.217, allocations: 421.6 kB / 0.7938 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2171, allocations: 29.7 kB / 0.7939 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.2172, allocations: 212.1 kB / 0.7941 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.2173, allocations: 63.09 kB / 0.7941 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.051e-05/0.2174, allocations: 53.92 kB / 0.7942 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2175, allocations: 346.8 kB / 0.7945 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2177, allocations: 72.42 kB / 0.7946 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.2179, allocations: 119.2 kB / 0.7947 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.2183, allocations: 185 kB / 0.7949 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2183, allocations: 0 / 0.7949 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005045/0.2188, allocations: 260.2 kB / 0.7951 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2188, allocations: 8 kB / 0.7951 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2188, allocations: 0 / 0.7951 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2188, allocations: 4 kB / 0.7951 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.2191, allocations: 47.91 kB / 0.7952 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2191, allocations: 4 kB / 0.7952 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.2192, allocations: 27.92 kB / 0.7952 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.2193, allocations: 12 kB / 0.7952 GB, free: 1.094 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.0001647/0.2194, allocations: 176.5 kB / 0.7954 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.2195, allocations: 35.53 kB / 0.7954 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.615e-05/0.2196, allocations: 43.58 kB / 0.7955 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2196, allocations: 4 kB / 0.7955 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2196, allocations: 0 / 0.7955 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2196, allocations: 3.938 kB / 0.7955 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008888/0.2205, allocations: 0.6739 MB / 0.7961 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2205, allocations: 0 / 0.7961 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.2207, allocations: 31.92 kB / 0.7962 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2207, allocations: 0 / 0.7962 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.2208, allocations: 15.92 kB / 0.7962 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2208, allocations: 0 / 0.7962 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2208, allocations: 0 / 0.7962 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.2215, allocations: 422.9 kB / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2216, allocations: 136.5 kB / 0.7967 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.2217, allocations: 4 kB / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.2218, allocations: 11.98 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.2219, allocations: 15.98 kB / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.2219, allocations: 7.938 kB / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002869/0.2222, allocations: 303.2 kB / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2222, allocations: 0 / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003326/0.2226, allocations: 63.84 kB / 0.7971 GB, free: 15.07 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.00176/0.2243, allocations: 1.27 MB / 0.7983 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000458/0.2248, allocations: 171.9 kB / 0.7985 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2248, allocations: 0 / 0.7985 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.225, allocations: 91.33 kB / 0.7986 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.2256, allocations: 96.92 kB / 0.7987 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.2296, allocations: 3.048 MB / 0.8017 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.23, allocations: 0.8029 MB / 0.8024 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.2301, allocations: 38.95 kB / 0.8025 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.2303, allocations: 123.4 kB / 0.8026 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of SimCode: time 7.31e-07/0.2303, allocations: 0 / 0.8026 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.2585, allocations: 7.429 MB / 0.8098 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.286, allocations: 7.844 kB / 0.8099 GB, free: 2.215 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv --start-time 0 --stop-time 360 --timeout 50 --relative-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)