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.521/1.521, allocations: 252 MB / 267 MB, free: 10.96 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.001132/0.001132, allocations: 182 kB / 326.6 MB, free: 2.219 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.964/1.964, allocations: 205.4 MB / 0.5776 GB, free: 20.29 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.0008604/0.0008604, allocations: 92.33 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005242/0.0005244, allocations: 12.17 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2528, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.00372/0.2566, allocations: 2.415 MB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.2594, allocations: 1.194 MB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006509/0.2601, allocations: 11.94 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.2608, allocations: 127.5 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006022/0.2614, allocations: 115.4 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.2623, allocations: 210.5 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007529/0.2631, allocations: 407.5 kB / 0.9047 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.2635, allocations: 132.4 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.2638, allocations: 127.3 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.2641, allocations: 151.2 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.2641, allocations: 8 kB / 0.9051 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.2643, allocations: 35.98 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.999e-05/0.2644, allocations: 59.69 kB / 0.9052 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.2645, allocations: 89.45 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.2649, allocations: 399.3 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2649, allocations: 4 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2649, allocations: 0 / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.265, allocations: 0 / 0.9056 GB, free: 58.32 MB / 0.6042 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.001166/0.2661, allocations: 0.6463 MB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2662, allocations: 8.031 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.2663, allocations: 62.53 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.2664, allocations: 43.44 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006158/0.2671, allocations: 385.6 kB / 0.9067 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2671, allocations: 16.56 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.2672, allocations: 27.98 kB / 0.9068 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.2677, allocations: 275.7 kB / 0.907 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2677, allocations: 0 / 0.907 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.2677, allocations: 15.94 kB / 0.9071 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2678, allocations: 4 kB / 0.9071 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.2682, allocations: 186.2 kB / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.2695, allocations: 0.8765 MB / 0.9081 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006909/0.2702, allocations: 230.9 kB / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.2704, allocations: 92.81 kB / 0.9084 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.2705, allocations: 4 kB / 0.9084 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.2708, allocations: 145.6 kB / 0.9085 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.534e-06/0.2708, allocations: 0 / 0.9085 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0006778/0.2715, allocations: 297 kB / 0.9088 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.2716, allocations: 59.34 kB / 0.9089 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.2719, allocations: 413.6 kB / 0.9093 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.272, allocations: 29.7 kB / 0.9093 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2721, allocations: 216.1 kB / 0.9095 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.2722, allocations: 59.11 kB / 0.9096 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.2722, allocations: 12 kB / 0.9096 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.2723, allocations: 346.8 kB / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.2724, allocations: 68.42 kB / 0.91 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.2726, allocations: 114.2 kB / 0.9101 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.2728, allocations: 80.86 kB / 0.9102 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2728, allocations: 4 kB / 0.9102 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004622/0.2733, allocations: 265.2 kB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2733, allocations: 8 kB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2733, allocations: 0 / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2734, allocations: 7.984 kB / 0.9104 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.2736, allocations: 43.92 kB / 0.9105 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.2736, allocations: 3.984 kB / 0.9105 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.2738, allocations: 31.94 kB / 0.9105 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.2738, allocations: 8 kB / 0.9105 GB, free: 53.04 MB / 0.6042 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.0001626/0.274, allocations: 168.8 kB / 0.9107 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.274, allocations: 39.48 kB / 0.9107 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.769e-05/0.2741, allocations: 47.58 kB / 0.9108 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.2741, allocations: 4 kB / 0.9108 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2741, allocations: 0 / 0.9108 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2741, allocations: 0 / 0.9108 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.275, allocations: 0.6835 MB / 0.9114 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.275, allocations: 0 / 0.9114 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.2752, allocations: 31.92 kB / 0.9115 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2752, allocations: 0 / 0.9115 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.2752, allocations: 11.98 kB / 0.9115 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2752, allocations: 7.938 kB / 0.9115 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2752, allocations: 4 kB / 0.9115 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.2759, allocations: 418.9 kB / 0.9119 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.276, allocations: 140.5 kB / 0.912 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.276, allocations: 8.062 kB / 0.912 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.2762, allocations: 11.98 kB / 0.912 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.2763, allocations: 19.97 kB / 0.9121 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.2763, allocations: 4 kB / 0.9121 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002423/0.2765, allocations: 291.2 kB / 0.9123 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2765, allocations: 3.938 kB / 0.9123 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003104/0.2769, allocations: 63.83 kB / 0.9124 GB, free: 51.01 MB / 0.6042 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.001633/0.2785, allocations: 1.264 MB / 0.9136 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.2789, allocations: 181.8 kB / 0.9138 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.279, allocations: 0 / 0.9138 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.2791, allocations: 87.89 kB / 0.9139 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.2797, allocations: 93.44 kB / 0.914 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.2828, allocations: 1.968 MB / 0.9159 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.283, allocations: 0.7953 MB / 0.9167 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.2832, allocations: 42.95 kB / 0.9167 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.2834, allocations: 123.4 kB / 0.9168 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.2834, allocations: 3.938 kB / 0.9168 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.3038, allocations: 7.026 MB / 0.9237 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.304, allocations: 261.5 kB / 0.924 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.618, allocations: 0 / 0.924 GB, free: 39.33 MB / 0.6042 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)