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.442/1.442, allocations: 288.4 MB / 303.6 MB, free: 8.062 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.000874/0.000874, allocations: 182.8 kB / 372.2 MB, free: 10.15 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.16/1.16, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0007021/0.0007024, allocations: 91.44 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.00032, allocations: 18.73 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.142, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002248/0.1443, allocations: 2.413 MB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1458, allocations: 1.179 MB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.1461, allocations: 11.94 kB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.1464, allocations: 123.5 kB / 0.9838 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.1467, allocations: 115.4 kB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.1471, allocations: 210.9 kB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.1475, allocations: 411.5 kB / 0.9845 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.1477, allocations: 190.5 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1479, allocations: 139.2 kB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.148, allocations: 143.2 kB / 0.985 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.148, allocations: 12 kB / 0.985 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1481, allocations: 43.98 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.1482, allocations: 55.7 kB / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.1483, allocations: 160.7 kB / 0.9852 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1486, allocations: 410.9 kB / 0.9856 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1486, allocations: 3.938 kB / 0.9856 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1486, allocations: 0 / 0.9856 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.1486, allocations: 0 / 0.9856 GB, free: 21.66 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.0007147/0.1493, allocations: 0.631 MB / 0.9862 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1493, allocations: 12.03 kB / 0.9863 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.1494, allocations: 58.73 kB / 0.9863 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.1495, allocations: 44.38 kB / 0.9864 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.1498, allocations: 406.7 kB / 0.9867 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1499, allocations: 20.94 kB / 0.9868 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.1499, allocations: 27.88 kB / 0.9868 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.1503, allocations: 275.7 kB / 0.9871 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1503, allocations: 0 / 0.9871 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.1504, allocations: 12 kB / 0.9871 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1504, allocations: 7.984 kB / 0.9871 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.1507, allocations: 186.2 kB / 0.9873 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009582/0.1517, allocations: 0.8841 MB / 0.9881 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.1523, allocations: 233.3 kB / 0.9883 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.1525, allocations: 86.55 kB / 0.9884 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1525, allocations: 11.98 kB / 0.9884 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.1528, allocations: 145.4 kB / 0.9886 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.023e-06/0.1528, allocations: 3.984 kB / 0.9886 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0005483/0.1534, allocations: 289.1 kB / 0.9889 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.1534, allocations: 55.41 kB / 0.9889 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.1537, allocations: 413.6 kB / 0.9893 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1537, allocations: 29.7 kB / 0.9893 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.1538, allocations: 216.1 kB / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1538, allocations: 63.11 kB / 0.9896 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.1539, allocations: 0 / 0.9896 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.1539, allocations: 354.7 kB / 0.9899 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1541, allocations: 64.44 kB / 0.99 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1542, allocations: 123.9 kB / 0.9901 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.1545, allocations: 193.7 kB / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1545, allocations: 0 / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003865/0.1549, allocations: 261 kB / 0.9905 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1549, allocations: 4 kB / 0.9905 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.155, allocations: 4 kB / 0.9906 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.155, allocations: 0 / 0.9906 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.1552, allocations: 47.97 kB / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1552, allocations: 11.88 kB / 0.9906 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1553, allocations: 27.77 kB / 0.9906 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.1553, allocations: 8.125 kB / 0.9906 GB, free: 16.25 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.0001153/0.1555, allocations: 172.9 kB / 0.9908 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1555, allocations: 43.47 kB / 0.9909 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.1556, allocations: 39.59 kB / 0.9909 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1556, allocations: 0 / 0.9909 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1556, allocations: 0 / 0.9909 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1556, allocations: 7.922 kB / 0.9909 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006822/0.1563, allocations: 0.6751 MB / 0.9916 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1563, allocations: 0 / 0.9916 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.1564, allocations: 39.91 kB / 0.9916 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1565, allocations: 4 kB / 0.9916 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1565, allocations: 3.938 kB / 0.9916 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1565, allocations: 0 / 0.9916 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1565, allocations: 0 / 0.9916 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.157, allocations: 430 kB / 0.992 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.1571, allocations: 144.5 kB / 0.9921 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.1572, allocations: 4 kB / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1573, allocations: 16.06 kB / 0.9922 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.1574, allocations: 15.91 kB / 0.9922 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1574, allocations: 15.98 kB / 0.9922 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001967/0.1576, allocations: 287.2 kB / 0.9925 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1576, allocations: 4 kB / 0.9925 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002601/0.1579, allocations: 55.84 kB / 0.9925 GB, free: 14.23 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.001298/0.1592, allocations: 1.266 MB / 0.9938 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.1595, allocations: 176 kB / 0.9939 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1595, allocations: 0 / 0.9939 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1597, allocations: 101.9 kB / 0.994 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.1602, allocations: 88.42 kB / 0.9941 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1624, allocations: 1.963 MB / 0.996 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.1626, allocations: 0.8031 MB / 0.9968 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.1628, allocations: 42.95 kB / 0.9969 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1629, allocations: 123.4 kB / 0.997 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1629, allocations: 0 / 0.997 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.1783, allocations: 7.031 MB / 1.004 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.1784, allocations: 263.6 kB / 1.004 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.128, allocations: 3.438 kB / 1.004 GB, free: 2.523 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)