Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.016/2.016, allocations: 391.2 MB / 407 MB, free: 10.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 195.4 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 103.7 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001088, allocations: 49.73 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2318, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003675/0.2355, allocations: 2.863 MB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2375, allocations: 1.317 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.2378, allocations: 11.94 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004816/0.2383, allocations: 127.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.2387, allocations: 123.4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.2394, allocations: 275.2 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.2399, allocations: 443.4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.2402, allocations: 200.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.2405, allocations: 155.2 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.2407, allocations: 183 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.2408, allocations: 20 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2409, allocations: 59.97 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.241, allocations: 63.7 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2411, allocations: 170.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.2415, allocations: 494.4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2415, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2415, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.2415, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 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.001016/0.2426, allocations: 0.7126 MB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2426, allocations: 11.98 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.2427, allocations: 48.38 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.2432, allocations: 394.6 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2433, allocations: 20.5 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.2433, allocations: 24 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.2437, allocations: 275.7 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2437, allocations: 0 / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2438, allocations: 8 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.2438, allocations: 7.984 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.2441, allocations: 186.2 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.2452, allocations: 0.8802 MB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.2458, allocations: 231 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.246, allocations: 89.7 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.2461, allocations: 11.98 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.2464, allocations: 139.3 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 2.435e-06/0.2464, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0005843/0.247, allocations: 286.4 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.247, allocations: 55.36 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.2473, allocations: 421.6 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2473, allocations: 29.7 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.2474, allocations: 208.2 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.2475, allocations: 67.08 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.2476, allocations: 49.94 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.2476, allocations: 354.7 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.2478, allocations: 72.42 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.2479, allocations: 116.8 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.2482, allocations: 190 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2482, allocations: 0 / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004139/0.2487, allocations: 254.1 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2487, allocations: 4 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2487, allocations: 8.156 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2487, allocations: 0 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.2489, allocations: 51.91 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2489, allocations: 7.938 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.2491, allocations: 23.83 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.2491, allocations: 8 kB / 1.229 GB, free: 105.3 MB / 0.823 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.0001196/0.2492, allocations: 171.8 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.2492, allocations: 39.53 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.2493, allocations: 43.59 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2493, allocations: 4 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2493, allocations: 3.938 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2493, allocations: 3.984 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006792/0.25, allocations: 0.6753 MB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.25, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.2502, allocations: 31.98 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2502, allocations: 3.938 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2502, allocations: 8 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2502, allocations: 3.984 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2502, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.2524, allocations: 2.048 MB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.2525, allocations: 124.6 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.2526, allocations: 4 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2527, allocations: 11.98 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.2528, allocations: 19.97 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.2528, allocations: 8 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002112/0.253, allocations: 291.2 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.253, allocations: 0 / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003861/0.2534, allocations: 91.77 kB / 1.233 GB, free: 101.5 MB / 0.823 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.0008351/0.2543, allocations: 423.3 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.2547, allocations: 167.9 kB / 1.234 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2547, allocations: 3.938 kB / 1.234 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2548, allocations: 96.2 kB / 1.234 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.2553, allocations: 82.64 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.2564, allocations: 0.9214 MB / 1.235 GB, free: 99.95 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.2566, allocations: 0.8031 MB / 1.235 GB, free: 99.12 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.2568, allocations: 46.95 kB / 1.235 GB, free: 99.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.2569, allocations: 35.42 kB / 1.235 GB, free: 99.04 MB / 0.823 GB Notification: Performance of SimCode: time 3.01e-07/0.2569, allocations: 4 kB / 1.235 GB, free: 99.04 MB / 0.823 GB Notification: Performance of Templates: time 0.006315/0.2632, allocations: 3.9 MB / 1.239 GB, free: 95.18 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)