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.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001286/0.001286, allocations: 176.1 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009243/0.0009242, allocations: 107.2 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 8.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2687, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.4719, allocations: 141.5 MB / 1.038 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.4722, allocations: 99.94 kB / 1.038 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0236/0.4958, allocations: 8.957 MB / 1.047 GB, free: 9.105 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4959, allocations: 0 / 1.047 GB, free: 9.105 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.235e-05/0.4959, allocations: 12 kB / 1.047 GB, free: 9.094 MB / 0.698 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.001522/0.4975, allocations: 0.6823 MB / 1.048 GB, free: 8.363 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4975, allocations: 8.031 kB / 1.048 GB, free: 8.355 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.4977, allocations: 62.53 kB / 1.048 GB, free: 8.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.4979, allocations: 51.39 kB / 1.048 GB, free: 8.234 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.4988, allocations: 401.6 kB / 1.048 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.4988, allocations: 20.55 kB / 1.048 GB, free: 7.781 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.4989, allocations: 24 kB / 1.048 GB, free: 7.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.4995, allocations: 292.5 kB / 1.049 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4996, allocations: 0 / 1.049 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.4996, allocations: 8 kB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.4996, allocations: 15.94 kB / 1.049 GB, free: 7.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.5002, allocations: 210 kB / 1.049 GB, free: 7.227 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.5018, allocations: 0.8423 MB / 1.05 GB, free: 6.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.5026, allocations: 267 kB / 1.05 GB, free: 6.059 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.5027, allocations: 11.92 kB / 1.05 GB, free: 6.047 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003584/0.5031, allocations: 155.4 kB / 1.05 GB, free: 5.883 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 2.344e-06/0.5031, allocations: 0 / 1.05 GB, free: 5.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0008194/0.5039, allocations: 339.8 kB / 1.05 GB, free: 5.547 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.504, allocations: 110.8 kB / 1.051 GB, free: 5.414 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.5045, allocations: 380.7 kB / 1.051 GB, free: 5.035 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.5045, allocations: 33.64 kB / 1.051 GB, free: 4.996 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.5047, allocations: 212.3 kB / 1.051 GB, free: 4.785 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.5048, allocations: 67 kB / 1.051 GB, free: 4.719 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.5048, allocations: 7.938 kB / 1.051 GB, free: 4.711 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.505, allocations: 350.8 kB / 1.052 GB, free: 4.359 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.5052, allocations: 75.97 kB / 1.052 GB, free: 4.285 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.5054, allocations: 126.2 kB / 1.052 GB, free: 4.148 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.5056, allocations: 86.98 kB / 1.052 GB, free: 4.066 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5056, allocations: 0 / 1.052 GB, free: 4.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005691/0.5062, allocations: 269.1 kB / 1.052 GB, free: 3.797 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.5062, allocations: 9.031 kB / 1.052 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5063, allocations: 0 / 1.052 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.5063, allocations: 4 kB / 1.052 GB, free: 3.785 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.5065, allocations: 47.91 kB / 1.052 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5065, allocations: 8.062 kB / 1.052 GB, free: 3.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.5067, allocations: 27.78 kB / 1.052 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.5068, allocations: 12 kB / 1.052 GB, free: 3.691 MB / 0.698 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 () * Number of clocked 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.0002245/0.507, allocations: 167.8 kB / 1.052 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.5071, allocations: 39.53 kB / 1.052 GB, free: 3.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006245/0.5077, allocations: 284.5 kB / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5077, allocations: 0 / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5078, allocations: 0 / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5078, allocations: 7.984 kB / 1.053 GB, free: 3.195 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.509, allocations: 0.7557 MB / 1.053 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.509, allocations: 0 / 1.053 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.5092, allocations: 35.92 kB / 1.053 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.5092, allocations: 0 / 1.053 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.5092, allocations: 7.984 kB / 1.053 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.5092, allocations: 4 kB / 1.053 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5092, allocations: 3.953 kB / 1.053 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.5101, allocations: 478.9 kB / 1.054 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.5103, allocations: 136.6 kB / 1.054 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.5104, allocations: 12.05 kB / 1.054 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.5105, allocations: 16 kB / 1.054 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.5106, allocations: 19.97 kB / 1.054 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.5107, allocations: 11.94 kB / 1.054 GB, free: 1.637 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003539/0.511, allocations: 303.1 kB / 1.054 GB, free: 1.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.511, allocations: 0 / 1.054 GB, free: 1.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003743/0.5114, allocations: 83.72 kB / 1.054 GB, free: 1.258 MB / 0.698 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) * Number of clocked states: 0 () * 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.002004/0.5134, allocations: 1.344 MB / 1.056 GB, free: 56 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.4911/1.005, allocations: 196.8 kB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.005, allocations: 0 / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/1.005, allocations: 112.6 kB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/1.006, allocations: 78.3 kB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/1.009, allocations: 2.355 MB / 1.058 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/1.009, allocations: 0.8033 MB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002335/1.01, allocations: 47.64 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/1.01, allocations: 130.7 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.01, allocations: 1.344 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/1.036, allocations: 7.664 MB / 1.067 GB, free: 145.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/1.036, allocations: 262.2 kB / 1.067 GB, free: 145.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.374, allocations: 2.969 kB / 1.067 GB, free: 145.4 MB / 0.698 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)