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.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.969 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.00119/0.001189, allocations: 172.8 kB / 316.3 MB, free: 3.238 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.845/1.845, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0007673/0.0007673, allocations: 86.53 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.053e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2263, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7793/1.006, allocations: 141.7 MB / 1.024 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/1.006, allocations: 96.5 kB / 1.024 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02252/1.029, allocations: 8.867 MB / 1.032 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.193e-06/1.029, allocations: 0 / 1.032 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.503e-05/1.029, allocations: 12 kB / 1.032 GB, free: 4.426 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.0009373/1.03, allocations: 0.6128 MB / 1.033 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.03, allocations: 8.031 kB / 1.033 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/1.03, allocations: 56.42 kB / 1.033 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/1.031, allocations: 399 kB / 1.034 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/1.031, allocations: 8 kB / 1.034 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/1.031, allocations: 12 kB / 1.034 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003437/1.031, allocations: 161.5 kB / 1.034 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/1.031, allocations: 239.8 kB / 1.034 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.031, allocations: 4 kB / 1.034 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/1.031, allocations: 0 / 1.034 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/1.032, allocations: 8 kB / 1.034 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/1.033, allocations: 0.7804 MB / 1.035 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/1.034, allocations: 225.2 kB / 1.035 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/1.034, allocations: 84.47 kB / 1.035 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/1.034, allocations: 0 / 1.035 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/1.034, allocations: 132.5 kB / 1.035 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/1.034, allocations: 4 kB / 1.035 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.0004478/1.035, allocations: 221.1 kB / 1.035 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/1.035, allocations: 107.1 kB / 1.035 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/1.035, allocations: 331.6 kB / 1.036 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/1.035, allocations: 25.7 kB / 1.036 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/1.035, allocations: 207.8 kB / 1.036 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/1.035, allocations: 65.58 kB / 1.036 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/1.035, allocations: 0 / 1.036 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.036, allocations: 348.6 kB / 1.036 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/1.036, allocations: 64.19 kB / 1.036 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/1.036, allocations: 102.3 kB / 1.037 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/1.036, allocations: 60.03 kB / 1.037 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.036, allocations: 0 / 1.037 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000342/1.036, allocations: 220.7 kB / 1.037 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.036, allocations: 4 kB / 1.037 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.036, allocations: 4 kB / 1.037 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.036, allocations: 0 / 1.037 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/1.037, allocations: 50.91 kB / 1.037 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/1.037, allocations: 0 / 1.037 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/1.037, allocations: 19.83 kB / 1.037 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/1.037, allocations: 8 kB / 1.037 GB, free: 0.5391 MB / 0.6511 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.0001151/1.037, allocations: 119.8 kB / 1.037 GB, free: 428 kB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003199/1.037, allocations: 216 kB / 1.037 GB, free: 256 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/1.037, allocations: 31.62 kB / 1.037 GB, free: 224 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/1.038, allocations: 234.7 kB / 1.037 GB, free: 48 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/1.038, allocations: 0 / 1.037 GB, free: 48 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.038, allocations: 0 / 1.037 GB, free: 48 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.038, allocations: 7.891 kB / 1.037 GB, free: 40 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008816/1.039, allocations: 0.6673 MB / 1.038 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.039, allocations: 0 / 1.038 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/1.039, allocations: 43.03 kB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.039, allocations: 0 / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.039, allocations: 0 / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.039, allocations: 4 kB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.039, allocations: 3.953 kB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/1.04, allocations: 418.9 kB / 1.039 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/1.04, allocations: 140 kB / 1.039 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/1.04, allocations: 3.984 kB / 1.039 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/1.04, allocations: 8 kB / 1.039 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/1.04, allocations: 31.11 kB / 1.039 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/1.04, allocations: 14.86 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000263/1.04, allocations: 249.6 kB / 1.039 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/1.04, allocations: 0 / 1.039 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003733/1.041, allocations: 75.27 kB / 1.039 GB, free: 14.66 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.001489/1.042, allocations: 1.209 MB / 1.04 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000296/1.043, allocations: 166.2 kB / 1.04 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.043, allocations: 0 / 1.04 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/1.043, allocations: 87.36 kB / 1.04 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/1.043, allocations: 71.03 kB / 1.041 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/1.044, allocations: 0.5371 MB / 1.041 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/1.045, allocations: 0.8101 MB / 1.042 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000176/1.045, allocations: 43.27 kB / 1.042 GB, free: 12 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/1.045, allocations: 130.3 kB / 1.042 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of SimCode: time 2.91e-07/1.045, allocations: 0 / 1.042 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/1.073, allocations: 6.726 MB / 1.049 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/1.073, allocations: 210 kB / 1.049 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/3.191, allocations: 0 / 1.049 GB, free: 4.98 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)