Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 199.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 61.83 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3064, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004198/0.3106, allocations: 2.839 MB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.3128, allocations: 1.344 MB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.313, allocations: 11.94 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.3135, allocations: 147.2 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.3139, allocations: 143.2 kB / 1.073 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.3145, allocations: 305.8 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.3149, allocations: 475.4 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.3152, allocations: 194.8 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.3155, allocations: 187.2 kB / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.3157, allocations: 191.1 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.3157, allocations: 40 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3159, allocations: 83.97 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.316, allocations: 95.58 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3161, allocations: 190.9 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.3166, allocations: 0.5061 MB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3167, allocations: 0 / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3167, allocations: 0 / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3167, allocations: 0 / 1.075 GB, free: 3.66 MB / 0.8262 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.001028/0.3177, allocations: 0.7126 MB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3178, allocations: 12.03 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.3178, allocations: 44.38 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.3184, allocations: 394.7 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.3184, allocations: 20.94 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.3185, allocations: 28.12 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.319, allocations: 279.6 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.319, allocations: 0 / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.319, allocations: 12 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.319, allocations: 4 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.3194, allocations: 178.2 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.3209, allocations: 0.888 MB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/0.3218, allocations: 231 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.322, allocations: 88.81 kB / 1.078 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.3221, allocations: 3.938 kB / 1.078 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.3226, allocations: 143.3 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.706e-06/0.3226, allocations: 4 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0008659/0.3235, allocations: 283.1 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.3235, allocations: 55.41 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.3241, allocations: 413.7 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.3241, allocations: 33.7 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.3244, allocations: 212 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-05/0.3245, allocations: 67.03 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3246, allocations: 57.86 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.3248, allocations: 350.7 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.325, allocations: 68.44 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.3252, allocations: 115.2 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.3256, allocations: 189.2 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3257, allocations: 0 / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005381/0.3262, allocations: 257 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.3262, allocations: 4 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3263, allocations: 4 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3263, allocations: 4.156 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.3265, allocations: 51.91 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.3265, allocations: 4 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3267, allocations: 23.78 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.3268, allocations: 7.984 kB / 1.08 GB, free: 14.22 MB / 0.8419 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 ($PRE.cooMod.nextTimeEvent,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.327, allocations: 168.6 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.327, allocations: 35.53 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.645e-05/0.3271, allocations: 47.58 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3272, allocations: 4 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3272, allocations: 0 / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.3272, allocations: 3.938 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3282, allocations: 0.6753 MB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3283, allocations: 0 / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.3285, allocations: 35.97 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3285, allocations: 4 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.3285, allocations: 11.94 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3285, allocations: 0 / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3285, allocations: 3.938 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.3293, allocations: 419 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3294, allocations: 128.7 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.3295, allocations: 11.94 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3296, allocations: 7.984 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.3297, allocations: 19.97 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.3297, allocations: 8 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003161/0.3301, allocations: 295.1 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3301, allocations: 0 / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003503/0.3304, allocations: 71.77 kB / 1.082 GB, free: 12.2 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.3316, allocations: 429.6 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005307/0.3321, allocations: 181.3 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3321, allocations: 0 / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.3324, allocations: 91.89 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.333, allocations: 95.94 kB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3345, allocations: 0.6266 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3349, allocations: 0.799 MB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.3351, allocations: 42.95 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.3351, allocations: 31.42 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/0.3352, allocations: 0 / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.008729/0.3439, allocations: 3.788 MB / 1.088 GB, free: 6.297 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)