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.71/1.71, allocations: 288.4 MB / 303.3 MB, free: 8.117 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.000994/0.0009938, allocations: 176.5 kB / 372 MB, free: 10.26 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.507/1.507, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0008652/0.0008652, allocations: 78.36 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004099, allocations: 11.53 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2201, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002959/0.2232, allocations: 2.402 MB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.2252, allocations: 1.19 MB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.2255, allocations: 11.94 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.226, allocations: 123.5 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.2263, allocations: 111.4 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.2269, allocations: 212.7 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.2273, allocations: 411.5 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.2276, allocations: 140.3 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.2278, allocations: 127.3 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.228, allocations: 151.2 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.228, allocations: 8 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2282, allocations: 39.98 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.2282, allocations: 55.69 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.2283, allocations: 89.45 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.2286, allocations: 395 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2287, allocations: 0 / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.876e-06/0.2287, allocations: 0 / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2287, allocations: 0 / 0.9849 GB, free: 22.1 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.0009321/0.2296, allocations: 0.6425 MB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2297, allocations: 12.02 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.455e-05/0.2297, allocations: 62.48 kB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.2298, allocations: 47.39 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.2303, allocations: 389.7 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.2303, allocations: 20.5 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.2304, allocations: 20 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.2309, allocations: 271.7 kB / 0.9864 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2309, allocations: 3.938 kB / 0.9864 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.2309, allocations: 12 kB / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2309, allocations: 11.95 kB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.2313, allocations: 182.2 kB / 0.9866 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2325, allocations: 0.888 MB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.2331, allocations: 227 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.2333, allocations: 88.81 kB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.2334, allocations: 8 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.2337, allocations: 139.3 kB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 3.236e-06/0.2337, allocations: 0 / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0006361/0.2344, allocations: 299.6 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2344, allocations: 59.41 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.2348, allocations: 409.6 kB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2348, allocations: 33.7 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2349, allocations: 204.2 kB / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.2349, allocations: 71.08 kB / 0.9889 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-06/0.235, allocations: 0 / 0.9889 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.235, allocations: 350.8 kB / 0.9892 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2352, allocations: 72.44 kB / 0.9893 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.2354, allocations: 112.1 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.2355, allocations: 86.53 kB / 0.9895 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2356, allocations: 4 kB / 0.9895 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000426/0.236, allocations: 257.7 kB / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.236, allocations: 16.11 kB / 0.9898 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.236, allocations: 0 / 0.9898 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2361, allocations: 4 kB / 0.9898 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2363, allocations: 51.91 kB / 0.9898 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2363, allocations: 3.938 kB / 0.9898 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.2364, allocations: 31.83 kB / 0.9898 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.2365, allocations: 4 kB / 0.9898 GB, free: 16.82 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.0001498/0.2366, allocations: 176.8 kB / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.2367, allocations: 35.53 kB / 0.99 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.2367, allocations: 47.48 kB / 0.9901 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2367, allocations: 4 kB / 0.9901 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.2368, allocations: 0 / 0.9901 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2368, allocations: 3.984 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007747/0.2375, allocations: 0.6739 MB / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2376, allocations: 0 / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.2377, allocations: 47.84 kB / 0.9908 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2378, allocations: 0 / 0.9908 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2378, allocations: 0 / 0.9908 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2378, allocations: 4 kB / 0.9908 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2378, allocations: 0 / 0.9908 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.2384, allocations: 428.5 kB / 0.9912 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.2385, allocations: 128.7 kB / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.2386, allocations: 11.95 kB / 0.9914 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.2387, allocations: 8 kB / 0.9914 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.2388, allocations: 23.91 kB / 0.9914 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.2388, allocations: 8.062 kB / 0.9914 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002439/0.2391, allocations: 295.1 kB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2391, allocations: 0 / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003158/0.2394, allocations: 71.69 kB / 0.9917 GB, free: 14.79 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.001596/0.241, allocations: 1.268 MB / 0.993 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.2415, allocations: 176.1 kB / 0.9931 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2415, allocations: 4.062 kB / 0.9931 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.2417, allocations: 91.89 kB / 0.9932 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.2422, allocations: 73.5 kB / 0.9933 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.2449, allocations: 1.962 MB / 0.9952 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.2452, allocations: 0.7992 MB / 0.996 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001893/0.2454, allocations: 42.95 kB / 0.996 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.2455, allocations: 127.4 kB / 0.9962 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2455, allocations: 0 / 0.9962 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.265, allocations: 7.027 MB / 1.003 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.2652, allocations: 276.1 kB / 1.003 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.52, allocations: 4 kB / 1.003 GB, free: 3.105 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)