Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.475/1.475, allocations: 287.4 MB / 302.6 MB, free: 8.297 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.0009719/0.0009718, allocations: 182.3 kB / 371.1 MB, free: 10.85 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.146/1.146, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0006574/0.0006574, allocations: 94.36 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 15.36 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002367/0.1557, allocations: 2.386 MB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1574, allocations: 1.183 MB / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.1576, allocations: 11.94 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.158, allocations: 127.5 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.1583, allocations: 111.4 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.1588, allocations: 220.4 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.1592, allocations: 411.5 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.1594, allocations: 190.5 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.1596, allocations: 139.2 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1598, allocations: 143.2 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.1598, allocations: 11.94 kB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.16, allocations: 39.98 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.16, allocations: 59.7 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.1601, allocations: 85.52 kB / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1604, allocations: 402.9 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1604, allocations: 3.938 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1604, allocations: 3.938 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.1604, allocations: 0 / 0.9841 GB, free: 22.57 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.0008398/0.1613, allocations: 0.6272 MB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1613, allocations: 12.03 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.1614, allocations: 62.72 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.1614, allocations: 44.38 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.1619, allocations: 398.6 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1619, allocations: 16.94 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.1619, allocations: 31.92 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.1624, allocations: 283.6 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1624, allocations: 0 / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1624, allocations: 8 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1624, allocations: 4 kB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1628, allocations: 190.2 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1638, allocations: 0.8764 MB / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.1644, allocations: 234.9 kB / 0.9868 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1646, allocations: 88.81 kB / 0.9869 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.1646, allocations: 4 kB / 0.9869 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.1649, allocations: 149.2 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.1649, allocations: 0 / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0005771/0.1655, allocations: 289.2 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.1655, allocations: 55.41 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.1658, allocations: 409.6 kB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1659, allocations: 33.7 kB / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.166, allocations: 216.1 kB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.166, allocations: 63.05 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.166, allocations: 4 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.1661, allocations: 354.7 kB / 0.9884 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1662, allocations: 64.42 kB / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1664, allocations: 118 kB / 0.9886 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1667, allocations: 186.7 kB / 0.9887 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1667, allocations: 0 / 0.9887 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003935/0.1671, allocations: 265.1 kB / 0.989 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1671, allocations: 4 kB / 0.989 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1671, allocations: 8 kB / 0.989 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1671, allocations: 0 / 0.989 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.1673, allocations: 51.84 kB / 0.9891 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1673, allocations: 4 kB / 0.9891 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.1675, allocations: 27.77 kB / 0.9891 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1675, allocations: 12 kB / 0.9891 GB, free: 17.18 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.0001159/0.1676, allocations: 168.2 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1677, allocations: 39.53 kB / 0.9893 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.1677, allocations: 47.56 kB / 0.9893 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1677, allocations: 3.938 kB / 0.9893 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1677, allocations: 0 / 0.9893 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1678, allocations: 3.938 kB / 0.9893 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006623/0.1684, allocations: 0.6862 MB / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1684, allocations: 4 kB / 0.99 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1686, allocations: 23.98 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1686, allocations: 4 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1686, allocations: 11.92 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1686, allocations: 0 / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1686, allocations: 7.938 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.1692, allocations: 429.5 kB / 0.9905 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.1693, allocations: 136.5 kB / 0.9906 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.1693, allocations: 0 / 0.9906 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1695, allocations: 15.98 kB / 0.9906 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.1695, allocations: 20.03 kB / 0.9906 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1696, allocations: 8 kB / 0.9906 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002044/0.1698, allocations: 291.2 kB / 0.9909 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1698, allocations: 0 / 0.9909 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002582/0.17, allocations: 67.83 kB / 0.991 GB, free: 15.14 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.001315/0.1714, allocations: 1.278 MB / 0.9922 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.1717, allocations: 180 kB / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1718, allocations: 0 / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1719, allocations: 94.47 kB / 0.9925 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.1724, allocations: 73.5 kB / 0.9926 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.1747, allocations: 1.972 MB / 0.9945 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.1749, allocations: 0.7992 MB / 0.9953 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.1751, allocations: 42.95 kB / 0.9953 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1752, allocations: 127.4 kB / 0.9954 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1752, allocations: 0 / 0.9954 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6439/0.8192, allocations: 6.999 MB / 1.002 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.8194, allocations: 258.9 kB / 1.003 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.253, allocations: 0 / 1.003 GB, free: 3.523 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)