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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_maint.7.0.x_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_maint.7.0.x_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.008326/0.008326, allocations: 104 kB / 15.74 MB, free: 6.059 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.001259/0.001259, allocations: 197.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 67.91 kB / 0.7258 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.68/0.6817, allocations: 104.7 MB / 0.828 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004855/0.6867, allocations: 2.852 MB / 0.8308 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.6892, allocations: 1.271 MB / 0.832 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.6896, allocations: 11.94 kB / 0.8321 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.6901, allocations: 147.2 kB / 0.8322 GB, free: 14.29 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.6905, allocations: 139.2 kB / 0.8323 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.6911, allocations: 290.1 kB / 0.8326 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005154/0.6917, allocations: 475.5 kB / 0.8331 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.692, allocations: 202 kB / 0.8333 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.6923, allocations: 187.2 kB / 0.8334 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.6925, allocations: 195 kB / 0.8336 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.6926, allocations: 40 kB / 0.8337 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.6927, allocations: 83.97 kB / 0.8337 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.6928, allocations: 91.69 kB / 0.8338 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.693, allocations: 186.8 kB / 0.834 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.6936, allocations: 0.5239 MB / 0.8345 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.6936, allocations: 0 / 0.8345 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6936, allocations: 3.938 kB / 0.8345 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.6936, allocations: 3.984 kB / 0.8345 GB, free: 11.91 MB / 0.6387 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.001115/0.6948, allocations: 0.7049 MB / 0.8352 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.6948, allocations: 8.031 kB / 0.8352 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.921e-05/0.6949, allocations: 48.38 kB / 0.8353 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.6956, allocations: 402.5 kB / 0.8356 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.6956, allocations: 24.94 kB / 0.8357 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.6957, allocations: 32.06 kB / 0.8357 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.6962, allocations: 271.7 kB / 0.836 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6963, allocations: 0 / 0.836 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.6963, allocations: 11.98 kB / 0.836 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.6963, allocations: 8 kB / 0.836 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.6967, allocations: 186.1 kB / 0.8362 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.6981, allocations: 0.8647 MB / 0.837 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.6988, allocations: 227 kB / 0.8372 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.699, allocations: 88.81 kB / 0.8373 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.6991, allocations: 4 kB / 0.8373 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.6994, allocations: 143.2 kB / 0.8374 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 1.714e-06/0.6994, allocations: 0 / 0.8374 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.000728/0.7001, allocations: 284.1 kB / 0.8377 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.7002, allocations: 51.41 kB / 0.8378 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.7006, allocations: 425.5 kB / 0.8382 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.7006, allocations: 29.7 kB / 0.8382 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.7008, allocations: 216 kB / 0.8384 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.7008, allocations: 59.25 kB / 0.8385 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.7009, allocations: 53.92 kB / 0.8385 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.701, allocations: 350.7 kB / 0.8388 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.7012, allocations: 72.38 kB / 0.8389 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.7014, allocations: 110 kB / 0.839 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.7018, allocations: 188 kB / 0.8392 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7018, allocations: 4 kB / 0.8392 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004818/0.7023, allocations: 253 kB / 0.8394 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.7023, allocations: 4 kB / 0.8394 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7023, allocations: 4 kB / 0.8394 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.7023, allocations: 3.984 kB / 0.8395 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.7026, allocations: 47.92 kB / 0.8395 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.7026, allocations: 12.14 kB / 0.8395 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.7028, allocations: 27.62 kB / 0.8395 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.7028, allocations: 12 kB / 0.8395 GB, free: 6.48 MB / 0.6387 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.0001814/0.703, allocations: 180.2 kB / 0.8397 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.703, allocations: 35.53 kB / 0.8398 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.231e-05/0.7031, allocations: 43.58 kB / 0.8398 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.7031, allocations: 4 kB / 0.8398 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7031, allocations: 0 / 0.8398 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.7031, allocations: 7.938 kB / 0.8398 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000925/0.7041, allocations: 0.6777 MB / 0.8405 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.7041, allocations: 0 / 0.8405 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.7043, allocations: 27.98 kB / 0.8405 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7043, allocations: 0 / 0.8405 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.7043, allocations: 15.92 kB / 0.8405 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7043, allocations: 0 / 0.8405 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7043, allocations: 4 kB / 0.8405 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.705, allocations: 426.2 kB / 0.8409 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.7052, allocations: 124.7 kB / 0.841 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.7052, allocations: 7.938 kB / 0.841 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.7054, allocations: 11.98 kB / 0.8411 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.7054, allocations: 23.98 kB / 0.8411 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.7055, allocations: 7.984 kB / 0.8411 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002862/0.7058, allocations: 291.2 kB / 0.8414 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7058, allocations: 0 / 0.8414 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003304/0.7061, allocations: 63.84 kB / 0.8414 GB, free: 4.461 MB / 0.6387 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.0009405/0.7071, allocations: 420.6 kB / 0.8418 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.7075, allocations: 183.8 kB / 0.842 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7075, allocations: 0 / 0.842 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.7077, allocations: 87.89 kB / 0.8421 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.7083, allocations: 88.62 kB / 0.8422 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.7094, allocations: 0.6181 MB / 0.8428 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.7097, allocations: 0.803 MB / 0.8436 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.7099, allocations: 46.95 kB / 0.8436 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.71, allocations: 31.42 kB / 0.8436 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.71, allocations: 0 / 0.8436 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of Templates: time 0.00825/0.7182, allocations: 3.816 MB / 0.8474 GB, free: 14.57 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)