Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001248/0.001248, allocations: 117.4 kB / 16.38 MB, free: 6.012 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.001258/0.001259, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.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.001399/0.001399, allocations: 71.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2449, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004653/0.2496, allocations: 2.829 MB / 0.7876 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4004/0.6501, allocations: 1.274 MB / 0.7888 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.6504, allocations: 15.41 kB / 0.7888 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.651, allocations: 148 kB / 0.789 GB, free: 46.53 MB / 0.6544 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.0003204/0.6513, allocations: 136 kB / 0.7891 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.6518, allocations: 274.8 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.6523, allocations: 480.5 kB / 0.7898 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.6526, allocations: 202.7 kB / 0.79 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.6528, allocations: 188.2 kB / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.653, allocations: 193.9 kB / 0.7904 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.6531, allocations: 39.59 kB / 0.7904 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.6532, allocations: 72.27 kB / 0.7905 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.94e-05/0.6533, allocations: 91.92 kB / 0.7906 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.6535, allocations: 187.6 kB / 0.7907 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.654, allocations: 0.5247 MB / 0.7913 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.654, allocations: 0 / 0.7913 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.654, allocations: 0.5625 kB / 0.7913 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.654, allocations: 0 / 0.7913 GB, free: 46.27 MB / 0.6544 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.0009005/0.6549, allocations: 0.706 MB / 0.7919 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.6549, allocations: 10.5 kB / 0.792 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.655, allocations: 49.25 kB / 0.792 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.6555, allocations: 409.3 kB / 0.7924 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.6555, allocations: 20.28 kB / 0.7924 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.6556, allocations: 28.98 kB / 0.7924 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.656, allocations: 276.5 kB / 0.7927 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6561, allocations: 0 / 0.7927 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.6561, allocations: 12.66 kB / 0.7927 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.6561, allocations: 6.281 kB / 0.7927 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.6565, allocations: 180.2 kB / 0.7929 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.6575, allocations: 0.8714 MB / 0.7937 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.6582, allocations: 229.9 kB / 0.794 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.6584, allocations: 87.45 kB / 0.794 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.6584, allocations: 8.844 kB / 0.7941 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.6587, allocations: 137.8 kB / 0.7942 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.6587, allocations: 0.6562 kB / 0.7942 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0006454/0.6594, allocations: 291.9 kB / 0.7945 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.6594, allocations: 54.84 kB / 0.7945 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.6598, allocations: 415.4 kB / 0.7949 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6598, allocations: 30.33 kB / 0.7949 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.6599, allocations: 210.7 kB / 0.7951 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.66, allocations: 73.58 kB / 0.7952 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.66, allocations: 49.3 kB / 0.7953 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.6601, allocations: 352.6 kB / 0.7956 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.6603, allocations: 68.78 kB / 0.7957 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.6605, allocations: 112 kB / 0.7958 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.6608, allocations: 193.5 kB / 0.796 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6608, allocations: 0 / 0.796 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004291/0.6612, allocations: 253.2 kB / 0.7962 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6613, allocations: 7.812 kB / 0.7962 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.6613, allocations: 0 / 0.7962 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6613, allocations: 3.312 kB / 0.7962 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.6615, allocations: 52.41 kB / 0.7963 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6615, allocations: 3.75 kB / 0.7963 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.6617, allocations: 26.83 kB / 0.7963 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.6617, allocations: 6.906 kB / 0.7963 GB, free: 44.09 MB / 0.6544 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.0001327/0.6618, allocations: 171.1 kB / 0.7965 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.6619, allocations: 37.66 kB / 0.7965 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.662, allocations: 48.09 kB / 0.7965 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.662, allocations: 0.5625 kB / 0.7965 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.662, allocations: 160 / 0.7965 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.662, allocations: 11.28 kB / 0.7966 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007545/0.6628, allocations: 0.6679 MB / 0.7972 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6628, allocations: 5.188 kB / 0.7972 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.6629, allocations: 35.59 kB / 0.7972 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.663, allocations: 0 / 0.7972 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.663, allocations: 10.3 kB / 0.7973 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.663, allocations: 0 / 0.7973 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.663, allocations: 5.688 kB / 0.7973 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.6636, allocations: 423.6 kB / 0.7977 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.6637, allocations: 128.5 kB / 0.7978 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.6637, allocations: 8.938 kB / 0.7978 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.6639, allocations: 10.72 kB / 0.7978 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.664, allocations: 21.05 kB / 0.7978 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.664, allocations: 13.44 kB / 0.7978 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002483/0.6643, allocations: 290.7 kB / 0.7981 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6643, allocations: 2.812 kB / 0.7981 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003246/0.6646, allocations: 63.5 kB / 0.7982 GB, free: 43.06 MB / 0.6544 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.0009626/0.6656, allocations: 417.7 kB / 0.7986 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.666, allocations: 175.6 kB / 0.7987 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.666, allocations: 0 / 0.7987 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.6662, allocations: 98.92 kB / 0.7988 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.6667, allocations: 92.69 kB / 0.7989 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009717/0.6677, allocations: 0.6449 MB / 0.7996 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.668, allocations: 0.7956 MB / 0.8003 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.829e-05/0.6681, allocations: 32.5 kB / 0.8004 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6681, allocations: 0 / 0.8004 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.009403/0.6775, allocations: 4.704 MB / 0.805 GB, free: 41.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)