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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.00114/0.00114, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.458/1.458, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.666/1.666, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.00159/0.00159, allocations: 68.03 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2875, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005236/0.2928, allocations: 2.83 MB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.2954, allocations: 1.275 MB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.2957, allocations: 11.94 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.2963, allocations: 143.2 kB / 0.7876 GB, free: 9.055 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.0003628/0.2967, allocations: 143.2 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.2973, allocations: 281.7 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.2979, allocations: 479.4 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.2982, allocations: 206.5 kB / 0.7887 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.2986, allocations: 187.2 kB / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.2988, allocations: 195 kB / 0.7891 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.2989, allocations: 36 kB / 0.7891 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.2991, allocations: 79.97 kB / 0.7892 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2992, allocations: 95.62 kB / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.2994, allocations: 178.9 kB / 0.7894 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.3, allocations: 0.514 MB / 0.7899 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3, allocations: 3.938 kB / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3, allocations: 0 / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.3, allocations: 0 / 0.7899 GB, free: 6.688 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.00122/0.3013, allocations: 0.6971 MB / 0.7906 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.3013, allocations: 12.03 kB / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.194e-05/0.3014, allocations: 62.72 kB / 0.7907 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.535e-05/0.3015, allocations: 48.38 kB / 0.7907 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.3022, allocations: 398.7 kB / 0.7911 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.3022, allocations: 20.94 kB / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.3023, allocations: 27.88 kB / 0.7912 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.3028, allocations: 279.6 kB / 0.7914 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3029, allocations: 4 kB / 0.7914 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.3029, allocations: 12 kB / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3029, allocations: 4 kB / 0.7914 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.3034, allocations: 186.1 kB / 0.7916 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.3051, allocations: 0.8802 MB / 0.7925 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/0.3059, allocations: 223 kB / 0.7927 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.3061, allocations: 88.81 kB / 0.7928 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.039e-05/0.3062, allocations: 11.98 kB / 0.7928 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/0.3067, allocations: 143.2 kB / 0.7929 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 3.556e-06/0.3067, allocations: 3.984 kB / 0.7929 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0008892/0.3076, allocations: 291.5 kB / 0.7932 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.3077, allocations: 51.41 kB / 0.7933 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.3082, allocations: 409.6 kB / 0.7937 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3082, allocations: 37.7 kB / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.3085, allocations: 208.1 kB / 0.7939 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.3086, allocations: 75.02 kB / 0.794 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3087, allocations: 49.94 kB / 0.794 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.3089, allocations: 350.7 kB / 0.7943 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.3092, allocations: 64.44 kB / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.3095, allocations: 119.2 kB / 0.7945 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.3099, allocations: 187.5 kB / 0.7947 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3099, allocations: 0 / 0.7947 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006574/0.3105, allocations: 256.2 kB / 0.7949 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.3106, allocations: 4 kB / 0.7949 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3106, allocations: 4 kB / 0.7949 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.3106, allocations: 160 / 0.7949 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.3109, allocations: 59.84 kB / 0.795 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3109, allocations: 4 kB / 0.795 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.3111, allocations: 27.77 kB / 0.795 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.3111, allocations: 4 kB / 0.795 GB, free: 1.184 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.0002816/0.3114, allocations: 173.3 kB / 0.7952 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.3115, allocations: 35.53 kB / 0.7952 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3116, allocations: 39.59 kB / 0.7953 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3117, allocations: 4 kB / 0.7953 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3117, allocations: 4 kB / 0.7953 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.3117, allocations: 3.938 kB / 0.7953 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.3129, allocations: 0.6777 MB / 0.7959 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.313, allocations: 0 / 0.7959 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.3132, allocations: 35.97 kB / 0.796 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3132, allocations: 0 / 0.796 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.3132, allocations: 15.94 kB / 0.796 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.3132, allocations: 0 / 0.796 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3133, allocations: 3.938 kB / 0.796 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.3141, allocations: 417.2 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.3143, allocations: 136.5 kB / 0.7965 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.3143, allocations: 4 kB / 0.7965 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.3145, allocations: 16.05 kB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.3146, allocations: 15.97 kB / 0.7966 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.3146, allocations: 12 kB / 0.7966 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003309/0.315, allocations: 291.2 kB / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.315, allocations: 0 / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003827/0.3154, allocations: 63.83 kB / 0.7969 GB, free: 15.16 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.002029/0.3174, allocations: 1.264 MB / 0.7981 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005974/0.318, allocations: 188 kB / 0.7983 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.318, allocations: 4.062 kB / 0.7983 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.3183, allocations: 91.12 kB / 0.7984 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.3189, allocations: 92.67 kB / 0.7985 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.3233, allocations: 3.085 MB / 0.8015 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3238, allocations: 0.7951 MB / 0.8023 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.3239, allocations: 46.94 kB / 0.8023 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.3241, allocations: 127.4 kB / 0.8025 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of SimCode: time 7.92e-07/0.3241, allocations: 0 / 0.8025 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.3512, allocations: 7.405 MB / 0.8097 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.094, allocations: 10.73 kB / 0.8097 GB, free: 2.273 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)