Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.512/2.512, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001447/0.001447, allocations: 182.6 kB / 315.4 MB, free: 3.984 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.128/2.128, allocations: 205.3 MB / 0.5662 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001177, allocations: 98.45 kB / 0.6704 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.237e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2088, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9135/1.122, allocations: 141.5 MB / 1.022 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005535/1.123, allocations: 94.44 kB / 1.022 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0568/1.18, allocations: 8.885 MB / 1.031 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/1.18, allocations: 0 / 1.031 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.761e-05/1.18, allocations: 8 kB / 1.031 GB, free: 5.984 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.001308/1.181, allocations: 0.6157 MB / 1.032 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.181, allocations: 8.031 kB / 1.032 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/1.181, allocations: 51.39 kB / 1.032 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/1.182, allocations: 394 kB / 1.032 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/1.183, allocations: 8 kB / 1.032 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/1.183, allocations: 15.98 kB / 1.032 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004913/1.183, allocations: 164.1 kB / 1.032 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/1.184, allocations: 244.7 kB / 1.032 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.184, allocations: 0 / 1.032 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/1.184, allocations: 0 / 1.032 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/1.184, allocations: 11.95 kB / 1.033 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/1.186, allocations: 0.7776 MB / 1.033 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/1.187, allocations: 226.5 kB / 1.033 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/1.187, allocations: 77.16 kB / 1.034 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/1.187, allocations: 3.375 kB / 1.034 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/1.187, allocations: 136.2 kB / 1.034 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 2.525e-06/1.187, allocations: 0 / 1.034 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.0005936/1.188, allocations: 214.8 kB / 1.034 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/1.188, allocations: 110.8 kB / 1.034 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/1.188, allocations: 332.9 kB / 1.034 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/1.188, allocations: 25.7 kB / 1.034 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/1.189, allocations: 208.2 kB / 1.035 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/1.189, allocations: 66.06 kB / 1.035 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/1.189, allocations: 0 / 1.035 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.189, allocations: 344.4 kB / 1.035 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/1.189, allocations: 60.42 kB / 1.035 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/1.189, allocations: 97.75 kB / 1.035 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/1.19, allocations: 71.31 kB / 1.035 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.19, allocations: 0 / 1.035 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005328/1.19, allocations: 214.7 kB / 1.035 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.19, allocations: 5.875 kB / 1.035 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.19, allocations: 4 kB / 1.035 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.19, allocations: 3.938 kB / 1.035 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/1.191, allocations: 50.97 kB / 1.035 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.191, allocations: 0 / 1.035 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/1.191, allocations: 27.84 kB / 1.035 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/1.191, allocations: 8 kB / 1.035 GB, free: 2.09 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.0001278/1.191, allocations: 112.5 kB / 1.036 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005057/1.192, allocations: 214.2 kB / 1.036 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/1.192, allocations: 31.62 kB / 1.036 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/1.192, allocations: 235.1 kB / 1.036 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.192, allocations: 4 kB / 1.036 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.192, allocations: 7.953 kB / 1.036 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/1.192, allocations: 0 / 1.036 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/1.194, allocations: 0.6624 MB / 1.037 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.194, allocations: 0 / 1.037 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/1.194, allocations: 35.92 kB / 1.037 GB, free: 1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.194, allocations: 0 / 1.037 GB, free: 1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/1.194, allocations: 3.984 kB / 1.037 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.194, allocations: 7.953 kB / 1.037 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.194, allocations: 4 kB / 1.037 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008467/1.195, allocations: 417.7 kB / 1.037 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/1.195, allocations: 141.5 kB / 1.037 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/1.195, allocations: 0 / 1.037 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/1.196, allocations: 11.98 kB / 1.037 GB, free: 0.5078 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/1.196, allocations: 23.67 kB / 1.037 GB, free: 500 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/1.196, allocations: 6.812 kB / 1.037 GB, free: 496 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004508/1.196, allocations: 262.3 kB / 1.038 GB, free: 292 kB / 0.6511 GB Notification: Performance of sort global known variables: time 5.91e-07/1.196, allocations: 0 / 1.038 GB, free: 292 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005465/1.197, allocations: 71.41 kB / 1.038 GB, free: 224 kB / 0.6511 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.002127/1.199, allocations: 1.216 MB / 1.039 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005033/1.2, allocations: 160.9 kB / 1.039 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.2, allocations: 0 / 1.039 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/1.2, allocations: 87.05 kB / 1.039 GB, free: 15 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/1.201, allocations: 75.23 kB / 1.039 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/1.202, allocations: 0.5303 MB / 1.04 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/1.203, allocations: 0.8021 MB / 1.04 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003049/1.203, allocations: 47.27 kB / 1.04 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/1.203, allocations: 128.3 kB / 1.041 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of SimCode: time 1.212e-06/1.203, allocations: 0 / 1.041 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05595/1.259, allocations: 6.73 MB / 1.047 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003805/1.26, allocations: 206 kB / 1.047 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.839, allocations: 0 / 1.047 GB, free: 6.57 MB / 0.6667 GB