Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.222/1.222, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000844/0.0008439, allocations: 173.4 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006895/0.0006895, allocations: 90.97 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002701, allocations: 11.8 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002272/0.1413, allocations: 2.555 MB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1427, allocations: 1.252 MB / 0.8999 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1429, allocations: 11.94 kB / 0.8999 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1432, allocations: 135.5 kB / 0.9001 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1434, allocations: 115.4 kB / 0.9002 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1438, allocations: 261.7 kB / 0.9004 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1441, allocations: 435.4 kB / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.1443, allocations: 182.5 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1445, allocations: 151.1 kB / 0.9012 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1446, allocations: 151.2 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.1446, allocations: 11.94 kB / 0.9013 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.313e-05/0.1447, allocations: 43.92 kB / 0.9014 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.1448, allocations: 55.7 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.1449, allocations: 146.9 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1452, allocations: 486.2 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1452, allocations: 0 / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1452, allocations: 4 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.1452, allocations: 4 kB / 0.902 GB, free: 62.08 MB / 0.6042 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.0006547/0.1459, allocations: 0.6348 MB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.1459, allocations: 11.97 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.1459, allocations: 58.72 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.146, allocations: 52.38 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.1464, allocations: 394.7 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1464, allocations: 24.92 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1464, allocations: 31.92 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.1468, allocations: 275.6 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1468, allocations: 4 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1469, allocations: 12 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1469, allocations: 4 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.1472, allocations: 190.2 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.1481, allocations: 0.8802 MB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.1487, allocations: 234.9 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1489, allocations: 88.81 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1489, allocations: 8 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.1491, allocations: 141.5 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.1492, allocations: 0 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0005195/0.1497, allocations: 301 kB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.1497, allocations: 51.41 kB / 0.9053 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.15, allocations: 413.6 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.15, allocations: 29.7 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.1501, allocations: 220.1 kB / 0.9059 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.1501, allocations: 63.09 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.1502, allocations: 29.7 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.1502, allocations: 354.7 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1504, allocations: 72.42 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.1505, allocations: 110 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.1508, allocations: 194.7 kB / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1508, allocations: 0 / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003743/0.1512, allocations: 268.5 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.1512, allocations: 4 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1512, allocations: 0 / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1512, allocations: 4 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1514, allocations: 44.12 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1514, allocations: 11.94 kB / 0.907 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.1516, allocations: 27.77 kB / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1516, allocations: 12 kB / 0.9071 GB, free: 56.62 MB / 0.6042 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.0001112/0.1517, allocations: 161.8 kB / 0.9072 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.1517, allocations: 39.47 kB / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.1518, allocations: 43.53 kB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1518, allocations: 7.984 kB / 0.9073 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.1518, allocations: 4 kB / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1518, allocations: 3.938 kB / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.1525, allocations: 0.6763 MB / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1525, allocations: 0 / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1527, allocations: 31.92 kB / 0.908 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1527, allocations: 8 kB / 0.908 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1527, allocations: 11.92 kB / 0.908 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1527, allocations: 0 / 0.908 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1527, allocations: 0 / 0.908 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.1532, allocations: 426.9 kB / 0.9084 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.1533, allocations: 128.6 kB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.1534, allocations: 4 kB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1535, allocations: 19.98 kB / 0.9086 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.1536, allocations: 15.98 kB / 0.9086 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1536, allocations: 7.984 kB / 0.9086 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001967/0.1538, allocations: 303 kB / 0.9089 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1538, allocations: 0 / 0.9089 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002592/0.1541, allocations: 67.75 kB / 0.909 GB, free: 54.59 MB / 0.6042 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.001303/0.1554, allocations: 1.272 MB / 0.9102 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.1557, allocations: 175.8 kB / 0.9104 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1557, allocations: 0 / 0.9104 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1559, allocations: 96.2 kB / 0.9105 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1563, allocations: 82.09 kB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.1592, allocations: 3.211 MB / 0.9137 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.1594, allocations: 0.8029 MB / 0.9145 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.1595, allocations: 46.95 kB / 0.9145 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1597, allocations: 127.3 kB / 0.9146 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.1597, allocations: 0 / 0.9146 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.1766, allocations: 6.892 MB / 0.9214 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.1768, allocations: 284.8 kB / 0.9216 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.013, allocations: 0 / 0.9216 GB, free: 41.71 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)