Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.783/1.783, allocations: 288.2 MB / 303.2 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 0.6305 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008655/0.0008655, allocations: 90.88 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003943, allocations: 10.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2186, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002507/0.2211, allocations: 2.394 MB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.2233, allocations: 1.155 MB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.2236, allocations: 7.938 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.2239, allocations: 111.5 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.2242, allocations: 151.5 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.2247, allocations: 214.4 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.225, allocations: 288 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.2252, allocations: 144.3 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.2254, allocations: 143.3 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.2255, allocations: 135.2 kB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.2256, allocations: 8 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-05/0.2257, allocations: 35.94 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.2257, allocations: 51.75 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.2258, allocations: 89.45 kB / 0.9843 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.2261, allocations: 403.1 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.2261, allocations: 0 / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2261, allocations: 0 / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2261, allocations: 0 / 0.9847 GB, free: 22.25 MB / 0.6198 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.0007865/0.2269, allocations: 0.6424 MB / 0.9853 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2269, allocations: 12.03 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.227, allocations: 58.55 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.2271, allocations: 47.39 kB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.2275, allocations: 385.7 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2276, allocations: 16.56 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.2276, allocations: 24 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.228, allocations: 275.7 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2281, allocations: 0 / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.2281, allocations: 8 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2281, allocations: 11.95 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.2285, allocations: 186.1 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2295, allocations: 0.8803 MB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.2304, allocations: 231 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.2305, allocations: 7.984 kB / 0.9874 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003952/0.2309, allocations: 136.3 kB / 0.9875 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.185e-06/0.2309, allocations: 4 kB / 0.9875 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.000837/0.2317, allocations: 295.7 kB / 0.9878 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.2318, allocations: 59.39 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.2322, allocations: 409.7 kB / 0.9882 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2323, allocations: 25.7 kB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2324, allocations: 216 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.2324, allocations: 63.09 kB / 0.9885 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.2324, allocations: 8 kB / 0.9885 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.2325, allocations: 354.7 kB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.2327, allocations: 68.42 kB / 0.9889 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.2329, allocations: 112.1 kB / 0.989 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.233, allocations: 91.3 kB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.233, allocations: 3.938 kB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004154/0.2335, allocations: 258.8 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2335, allocations: 11.94 kB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2335, allocations: 4 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2335, allocations: 4 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.2337, allocations: 51.91 kB / 0.9894 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2337, allocations: 0 / 0.9894 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.2339, allocations: 23.75 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2339, allocations: 12 kB / 0.9895 GB, free: 17.07 MB / 0.6198 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.0001296/0.234, allocations: 169.9 kB / 0.9896 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.2341, allocations: 35.53 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.2342, allocations: 47.53 kB / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2342, allocations: 0 / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2342, allocations: 4 kB / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2342, allocations: 0 / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.2349, allocations: 0.6817 MB / 0.9904 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2349, allocations: 3.938 kB / 0.9904 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.2351, allocations: 27.98 kB / 0.9904 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2351, allocations: 7.938 kB / 0.9904 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.2351, allocations: 4 kB / 0.9904 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2352, allocations: 4 kB / 0.9904 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2352, allocations: 0 / 0.9904 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.2358, allocations: 429.1 kB / 0.9908 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.2359, allocations: 124.7 kB / 0.9909 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.2359, allocations: 7.953 kB / 0.991 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2361, allocations: 16.05 kB / 0.991 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.2361, allocations: 19.97 kB / 0.991 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.2362, allocations: 4 kB / 0.991 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002215/0.2364, allocations: 295.1 kB / 0.9913 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2364, allocations: 0 / 0.9913 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000311/0.2367, allocations: 67.69 kB / 0.9913 GB, free: 15.05 MB / 0.6198 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.001416/0.2381, allocations: 1.277 MB / 0.9926 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.2385, allocations: 188 kB / 0.9928 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2386, allocations: 0 / 0.9928 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.2387, allocations: 83.91 kB / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.2392, allocations: 73.5 kB / 0.9929 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.2419, allocations: 2.689 MB / 0.9955 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2421, allocations: 0.8031 MB / 0.9963 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.2423, allocations: 46.94 kB / 0.9964 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2424, allocations: 127.4 kB / 0.9965 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/0.2424, allocations: 4 kB / 0.9965 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.2603, allocations: 6.994 MB / 1.003 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.2606, allocations: 258.7 kB / 1.004 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.446, allocations: 0 / 1.004 GB, free: 2.664 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)