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.001598/0.001598, 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.00195/0.00195, allocations: 189.6 kB / 16.64 MB, free: 6.594 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.331/1.331, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.663/1.663, 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.0015/0.0015, allocations: 72.28 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1996, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004577/0.2042, allocations: 2.833 MB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.2065, allocations: 1.272 MB / 0.7877 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.2069, allocations: 11.94 kB / 0.7877 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.2074, allocations: 143.2 kB / 0.7878 GB, free: 9 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.000435/0.2078, allocations: 143.2 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.2085, allocations: 270.7 kB / 0.7882 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.209, allocations: 479.5 kB / 0.7887 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.2094, allocations: 210.4 kB / 0.7889 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.2097, allocations: 191.1 kB / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.21, allocations: 199.1 kB / 0.7892 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.21, allocations: 40 kB / 0.7893 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.2102, allocations: 67.98 kB / 0.7893 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2103, allocations: 95.62 kB / 0.7894 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.2105, allocations: 182.9 kB / 0.7896 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005943/0.2111, allocations: 0.5333 MB / 0.7901 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2111, allocations: 4 kB / 0.7901 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2111, allocations: 0 / 0.7901 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.2111, allocations: 3.938 kB / 0.7901 GB, free: 6.609 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.001146/0.2123, allocations: 0.697 MB / 0.7908 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2123, allocations: 8.031 kB / 0.7908 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.911e-05/0.2124, allocations: 62.72 kB / 0.7909 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.2125, allocations: 52.38 kB / 0.7909 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/0.2131, allocations: 398.7 kB / 0.7913 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2132, allocations: 20.94 kB / 0.7913 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.2132, allocations: 27.94 kB / 0.7913 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.2137, allocations: 275.7 kB / 0.7916 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2137, allocations: 0 / 0.7916 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.2138, allocations: 8 kB / 0.7916 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2138, allocations: 8 kB / 0.7916 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.2142, allocations: 186 kB / 0.7918 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.2155, allocations: 0.8802 MB / 0.7927 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.2162, allocations: 230.5 kB / 0.7929 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2164, allocations: 88.83 kB / 0.793 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.2165, allocations: 4 kB / 0.793 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.2168, allocations: 145.8 kB / 0.7931 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.2168, allocations: 0 / 0.7931 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0006782/0.2175, allocations: 289.1 kB / 0.7934 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.2175, allocations: 51.41 kB / 0.7934 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.2179, allocations: 421.6 kB / 0.7938 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.218, allocations: 29.7 kB / 0.7939 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.2181, allocations: 212.1 kB / 0.7941 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.2182, allocations: 59.11 kB / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.2183, allocations: 49.94 kB / 0.7942 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2184, allocations: 350.7 kB / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.2186, allocations: 76.42 kB / 0.7946 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.2188, allocations: 115.2 kB / 0.7947 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.2191, allocations: 187.5 kB / 0.7949 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2191, allocations: 0 / 0.7949 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004941/0.2196, allocations: 260 kB / 0.7951 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2197, allocations: 4 kB / 0.7951 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2197, allocations: 4 kB / 0.7951 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2197, allocations: 0 / 0.7951 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.2199, allocations: 51.91 kB / 0.7952 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2199, allocations: 4 kB / 0.7952 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2201, allocations: 23.77 kB / 0.7952 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2201, allocations: 11.94 kB / 0.7952 GB, free: 1.117 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.0001737/0.2203, allocations: 181.3 kB / 0.7954 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.2203, allocations: 35.53 kB / 0.7954 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.526e-05/0.2204, allocations: 39.59 kB / 0.7955 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2204, allocations: 4 kB / 0.7955 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2205, allocations: 0 / 0.7955 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2205, allocations: 7.922 kB / 0.7955 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.2214, allocations: 0.6765 MB / 0.7961 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2214, allocations: 4 kB / 0.7961 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.2216, allocations: 27.98 kB / 0.7962 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2216, allocations: 0 / 0.7962 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.2216, allocations: 11.94 kB / 0.7962 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.2216, allocations: 3.984 kB / 0.7962 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2216, allocations: 3.984 kB / 0.7962 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.2223, allocations: 422.9 kB / 0.7966 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.2224, allocations: 136.5 kB / 0.7967 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.2225, allocations: 4 kB / 0.7967 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2226, allocations: 12 kB / 0.7967 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.2227, allocations: 15.97 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.2228, allocations: 8 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002892/0.223, allocations: 295.1 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2231, allocations: 0 / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003294/0.2234, allocations: 67.91 kB / 0.7971 GB, free: 15.09 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.001708/0.2251, allocations: 1.268 MB / 0.7983 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.2256, allocations: 183.8 kB / 0.7985 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2256, allocations: 0 / 0.7985 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2258, allocations: 83.91 kB / 0.7986 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.2263, allocations: 98.17 kB / 0.7987 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.2302, allocations: 3.043 MB / 0.8017 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.2306, allocations: 0.8028 MB / 0.8024 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001853/0.2308, allocations: 46.94 kB / 0.8025 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.2309, allocations: 123.4 kB / 0.8026 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.231, allocations: 0 / 0.8026 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.2568, allocations: 7.422 MB / 0.8098 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/7.918, allocations: 10.48 kB / 0.8099 GB, free: 2.234 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)