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.001596/0.001596, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.678/2.678, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.98 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3062, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004885/0.3111, allocations: 2.877 MB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.3135, allocations: 1.317 MB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.3138, allocations: 11.94 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.3143, allocations: 135.5 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.3147, allocations: 119.4 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.3154, allocations: 271 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.316, allocations: 447.4 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.3163, allocations: 190.8 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.3166, allocations: 155.2 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.3169, allocations: 183.1 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.317, allocations: 12 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3171, allocations: 52 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.3172, allocations: 75.61 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.3174, allocations: 166.9 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.3179, allocations: 0.4905 MB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3179, allocations: 4 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.42e-07/0.3179, allocations: 0 / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.3179, allocations: 0 / 1.074 GB, free: 4.344 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.001173/0.3191, allocations: 0.7048 MB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3192, allocations: 15.97 kB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3193, allocations: 52.31 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.3198, allocations: 394.7 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3199, allocations: 20.94 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.3199, allocations: 28.12 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.3205, allocations: 275.7 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3205, allocations: 4 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3205, allocations: 8 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3205, allocations: 8 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.321, allocations: 178.2 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.3224, allocations: 0.8801 MB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.3232, allocations: 242.9 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.3234, allocations: 94.31 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.3234, allocations: 4 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.3238, allocations: 137 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 3.958e-06/0.3238, allocations: 0 / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0007329/0.3246, allocations: 289 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3246, allocations: 55.41 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.3251, allocations: 413.7 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3251, allocations: 29.7 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3253, allocations: 220 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.3254, allocations: 63.09 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/0.3255, allocations: 49.92 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3257, allocations: 354.8 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.3259, allocations: 64.44 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3261, allocations: 121.9 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.3265, allocations: 188.2 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3265, allocations: 0 / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005301/0.327, allocations: 257 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.327, allocations: 7.984 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3271, allocations: 0 / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3271, allocations: 4 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.3273, allocations: 56.06 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3273, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.3275, allocations: 19.78 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.3275, allocations: 12 kB / 1.079 GB, free: 14.9 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.000178/0.3277, allocations: 172.6 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.3277, allocations: 35.53 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.565e-05/0.3278, allocations: 43.58 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3278, allocations: 0 / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3279, allocations: 8 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3279, allocations: 3.938 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009509/0.3288, allocations: 0.6751 MB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3288, allocations: 0 / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.329, allocations: 31.97 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.329, allocations: 0 / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.3291, allocations: 11.94 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3291, allocations: 4 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3291, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.3298, allocations: 423.4 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3299, allocations: 128.6 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.33, allocations: 11.88 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3302, allocations: 16.05 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.3303, allocations: 19.97 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.3303, allocations: 8 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003028/0.3306, allocations: 291.2 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.3306, allocations: 0 / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003408/0.331, allocations: 71.77 kB / 1.081 GB, free: 12.88 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.0009177/0.3319, allocations: 403.5 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.3323, allocations: 179.8 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3324, allocations: 0 / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.3326, allocations: 93.61 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.3331, allocations: 93.67 kB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3343, allocations: 0.7374 MB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3347, allocations: 0.7993 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.3349, allocations: 46.95 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.335, allocations: 35.36 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of SimCode: time 6.62e-07/0.335, allocations: 0 / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.00789/0.3429, allocations: 3.569 MB / 1.087 GB, free: 7.082 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)