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.431/1.431, allocations: 249.3 MB / 261.8 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 178.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.000974/0.0009742, allocations: 88.36 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.957e-05/4.96e-05, allocations: 7.984 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2603, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8518/1.112, allocations: 141.4 MB / 1.03 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.112, allocations: 101.8 kB / 1.03 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02433/1.137, allocations: 8.922 MB / 1.039 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.605e-06/1.137, allocations: 4 kB / 1.039 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.311e-05/1.137, allocations: 8 kB / 1.039 GB, free: 1.871 MB / 0.6511 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.001009/1.138, allocations: 0.611 MB / 1.039 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.138, allocations: 12.03 kB / 1.039 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.602e-05/1.138, allocations: 56.67 kB / 1.039 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/1.138, allocations: 51.39 kB / 1.039 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007334/1.139, allocations: 401.4 kB / 1.04 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/1.139, allocations: 14.81 kB / 1.04 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/1.139, allocations: 25.62 kB / 1.04 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/1.14, allocations: 278.5 kB / 1.04 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.14, allocations: 0 / 1.04 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/1.14, allocations: 13.19 kB / 1.04 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/1.14, allocations: 4 kB / 1.04 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/1.14, allocations: 182 kB / 1.04 GB, free: 412 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/1.141, allocations: 0.8454 MB / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/1.142, allocations: 245.4 kB / 1.041 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/1.142, allocations: 87.59 kB / 1.042 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/1.142, allocations: 11.92 kB / 1.042 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/1.143, allocations: 135 kB / 1.042 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/1.143, allocations: 0 / 1.042 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.0004783/1.143, allocations: 238.7 kB / 1.042 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/1.143, allocations: 110.4 kB / 1.042 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/1.144, allocations: 376.6 kB / 1.042 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.144, allocations: 32.52 kB / 1.042 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/1.144, allocations: 195.7 kB / 1.043 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/1.144, allocations: 73.17 kB / 1.043 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/1.144, allocations: 7.125 kB / 1.043 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.144, allocations: 351.8 kB / 1.043 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/1.144, allocations: 56.44 kB / 1.043 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/1.144, allocations: 106 kB / 1.043 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/1.145, allocations: 76.75 kB / 1.043 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.145, allocations: 0 / 1.043 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003788/1.145, allocations: 230.9 kB / 1.043 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.145, allocations: 8 kB / 1.043 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.145, allocations: 0 / 1.043 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.145, allocations: 0 / 1.043 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/1.145, allocations: 50.72 kB / 1.043 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.145, allocations: 7.938 kB / 1.043 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/1.146, allocations: 31.83 kB / 1.044 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/1.146, allocations: 4 kB / 1.044 GB, free: 13.73 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.dxSpe.trigger,dxSpeCon.cooMod,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001162/1.146, allocations: 119.6 kB / 1.044 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/1.146, allocations: 39.52 kB / 1.044 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004771/1.146, allocations: 255.5 kB / 1.044 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.146, allocations: 7.938 kB / 1.044 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.146, allocations: 0 / 1.044 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/1.146, allocations: 7.953 kB / 1.044 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/1.147, allocations: 0.7174 MB / 1.045 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.147, allocations: 0 / 1.045 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/1.147, allocations: 39.91 kB / 1.045 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.147, allocations: 0 / 1.045 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/1.147, allocations: 3.438 kB / 1.045 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/1.147, allocations: 7.953 kB / 1.045 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.147, allocations: 0 / 1.045 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/1.148, allocations: 433.3 kB / 1.045 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/1.148, allocations: 146.4 kB / 1.045 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/1.148, allocations: 7.438 kB / 1.045 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/1.149, allocations: 15.3 kB / 1.045 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/1.149, allocations: 23.69 kB / 1.045 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/1.149, allocations: 11.92 kB / 1.045 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003379/1.149, allocations: 304.8 kB / 1.046 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.71e-07/1.149, allocations: 4 kB / 1.046 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003556/1.149, allocations: 77.97 kB / 1.046 GB, free: 11.9 MB / 0.6667 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.dxSpe.trigger,$whenCondition2,$whenCondition1,dxSpeCon.cooMod,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.00183/1.151, allocations: 1.254 MB / 1.047 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003592/1.152, allocations: 172.3 kB / 1.047 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.152, allocations: 4 kB / 1.047 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/1.152, allocations: 91.92 kB / 1.047 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/1.152, allocations: 82.02 kB / 1.047 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/1.154, allocations: 0.5444 MB / 1.048 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/1.154, allocations: 0.8142 MB / 1.049 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001924/1.154, allocations: 46.95 kB / 1.049 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/1.155, allocations: 125.8 kB / 1.049 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/1.155, allocations: 0 / 1.049 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/1.176, allocations: 7.593 MB / 1.056 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/1.177, allocations: 231.2 kB / 1.056 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/3.456, allocations: 0 / 1.056 GB, free: 1.516 MB / 0.6667 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)