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.001282/0.001282, allocations: 107.7 kB / 16.35 MB, free: 5.879 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.001085/0.001085, allocations: 190 kB / 17.29 MB, free: 5.516 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.319/1.319, allocations: 205.1 MB / 223.2 MB, free: 4.512 MB / 174.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.664/1.664, allocations: 292.3 MB / 0.5496 GB, free: 12.75 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.001433/0.001433, allocations: 71.02 kB / 0.6729 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1984, allocations: 114.5 MB / 0.7848 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004036/0.2025, allocations: 2.82 MB / 0.7875 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.2046, allocations: 1.275 MB / 0.7888 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.2049, allocations: 11.94 kB / 0.7888 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.2054, allocations: 143.2 kB / 0.7889 GB, free: 8.438 MB / 0.6075 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.0003237/0.2057, allocations: 147.2 kB / 0.7891 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.2063, allocations: 281.3 kB / 0.7893 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.2068, allocations: 483.4 kB / 0.7898 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.2071, allocations: 202.4 kB / 0.79 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.2074, allocations: 187.2 kB / 0.7902 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.2076, allocations: 195 kB / 0.7904 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.2077, allocations: 36 kB / 0.7904 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.2078, allocations: 79.97 kB / 0.7905 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2079, allocations: 91.64 kB / 0.7906 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.2081, allocations: 186.9 kB / 0.7907 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.2086, allocations: 0.5217 MB / 0.7912 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2086, allocations: 0 / 0.7912 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2086, allocations: 0 / 0.7912 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2086, allocations: 4 kB / 0.7912 GB, free: 6.055 MB / 0.6075 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.001006/0.2096, allocations: 0.7148 MB / 0.7919 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2097, allocations: 12.03 kB / 0.792 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.612e-05/0.2098, allocations: 48.38 kB / 0.792 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.2103, allocations: 386.8 kB / 0.7924 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.2103, allocations: 16.94 kB / 0.7924 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.2104, allocations: 28.12 kB / 0.7924 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.2109, allocations: 275.6 kB / 0.7927 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2109, allocations: 0 / 0.7927 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.211, allocations: 16 kB / 0.7927 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.211, allocations: 8 kB / 0.7927 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.2114, allocations: 178.2 kB / 0.7929 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.2126, allocations: 0.8801 MB / 0.7937 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/0.2134, allocations: 227 kB / 0.7939 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.2136, allocations: 88.77 kB / 0.794 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.2136, allocations: 7.984 kB / 0.794 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.214, allocations: 139.3 kB / 0.7942 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 2.986e-06/0.214, allocations: 7.922 kB / 0.7942 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0007016/0.2147, allocations: 283.8 kB / 0.7944 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2148, allocations: 59.34 kB / 0.7945 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.2152, allocations: 421.6 kB / 0.7949 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2152, allocations: 33.64 kB / 0.7949 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.2154, allocations: 212.1 kB / 0.7951 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.2154, allocations: 63.09 kB / 0.7952 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.2155, allocations: 49.94 kB / 0.7953 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2156, allocations: 350.7 kB / 0.7956 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.2158, allocations: 72.42 kB / 0.7957 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.216, allocations: 111.2 kB / 0.7958 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.2164, allocations: 187.5 kB / 0.7959 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.2164, allocations: 4 kB / 0.7959 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005155/0.2169, allocations: 256.3 kB / 0.7962 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.217, allocations: 4.156 kB / 0.7962 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.217, allocations: 8 kB / 0.7962 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.217, allocations: 0 / 0.7962 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.2172, allocations: 47.91 kB / 0.7962 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2172, allocations: 7.984 kB / 0.7963 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.2174, allocations: 27.77 kB / 0.7963 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.2174, allocations: 8 kB / 0.7963 GB, free: 0.625 MB / 0.6075 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.0001588/0.2176, allocations: 169.3 kB / 0.7964 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.2177, allocations: 43.53 kB / 0.7965 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.2177, allocations: 39.59 kB / 0.7965 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2177, allocations: 0 / 0.7965 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2178, allocations: 4 kB / 0.7965 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2178, allocations: 7.922 kB / 0.7965 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.2187, allocations: 0.6738 MB / 0.7972 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2187, allocations: 0 / 0.7972 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2189, allocations: 35.92 kB / 0.7972 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2189, allocations: 0 / 0.7972 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2189, allocations: 11.92 kB / 0.7972 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2189, allocations: 4 kB / 0.7972 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2189, allocations: 0 / 0.7972 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.2197, allocations: 418.9 kB / 0.7976 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.2198, allocations: 136.6 kB / 0.7978 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.2199, allocations: 3.938 kB / 0.7978 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.22, allocations: 12 kB / 0.7978 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.2201, allocations: 19.97 kB / 0.7978 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.2201, allocations: 8 kB / 0.7978 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003034/0.2204, allocations: 295.1 kB / 0.7981 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2205, allocations: 0 / 0.7981 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003644/0.2208, allocations: 67.78 kB / 0.7982 GB, free: 14.6 MB / 0.6231 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.000936/0.2218, allocations: 412.7 kB / 0.7986 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.2222, allocations: 177.9 kB / 0.7987 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2222, allocations: 0 / 0.7987 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.2225, allocations: 87.84 kB / 0.7988 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.223, allocations: 101.4 kB / 0.7989 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2241, allocations: 0.6187 MB / 0.7995 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.2245, allocations: 0.799 MB / 0.8003 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.2247, allocations: 42.97 kB / 0.8003 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.2247, allocations: 31.42 kB / 0.8004 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.2247, allocations: 3.938 kB / 0.8004 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of Templates: time 0.00759/0.2324, allocations: 3.766 MB / 0.804 GB, free: 8.73 MB / 0.6231 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)